Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-02 23:59:05.045230
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
  port_id : 24493815
  datou_current_id : 3224252
in upload_from_sqlite, uploading in 24493815
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/02072025/23/57/image_02072025_23_57_02_0339.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02072025/23/57/image_02072025_23_57_02_0339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3224252&datou=0
/home/pi/Desktop/images/02072025/23/57/image_02072025_23_57_02_0339.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370174650"],"photo_id":"1370174650","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/34f4670c93bc5aff8e8166ffb8d26f34.jpg","text":"TemporaryFile(/tmp/multipartBody7193326608905886012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751493607118,"filename":"image_02072025_23_57_02_0339.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370174650"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370174650"}],"hashtags":[],"portfolio_id":"24493815","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.892545700073242 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:00:03.548752
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:01:03.336428
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:02:02.873754
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:03:03.828166
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:04:03.538786
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:05:03.168242
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:06:03.066316
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:07:03.335629
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:08:03.327708
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:09:03.743568
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:10:02.670755
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:11:03.332156
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:12:03.124181
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
  port_id : 24493815
  datou_current_id : 3224252
in upload_from_sqlite, uploading in 24493815
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/02072025/23/58/image_02072025_23_58_01_8533.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02072025/23/58/image_02072025_23_58_01_8533.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3224252&datou=0
/home/pi/Desktop/images/02072025/23/58/image_02072025_23_58_01_8533.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370179010"],"photo_id":"1370179010","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/75eeb079b0ae69c7c504de2835878bb3.jpg","text":"TemporaryFile(/tmp/multipartBody6968369261760488507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751494384990,"filename":"image_02072025_23_58_01_8533.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370179010"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370179010"}],"hashtags":[],"portfolio_id":"24493815","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.704354763031006 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:13:03.924658
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_03072025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
0
3231116
0
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/12/image_03072025_00_12_01_3002.jpg', 2)]
{'portfolio_id': 24536668, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1751494444000}
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/12/image_03072025_00_12_01_3002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/12/image_03072025_00_12_01_3002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370179712"],"photo_id":"1370179712","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/dc8c9150c8fbe4a2b8d395287fd326e7.jpg","text":"TemporaryFile(/tmp/multipartBody8378238299122291934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751494448255,"filename":"image_03072025_00_12_01_3002.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370179712"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370179712"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 19.42111110687256 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:14:02.739936
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/13/image_03072025_00_13_01_7467.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/13/image_03072025_00_13_01_7467.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/13/image_03072025_00_13_01_7467.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370180112"],"photo_id":"1370180112","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/237807e834cdef012bfd8275b47ba841.jpg","text":"TemporaryFile(/tmp/multipartBody1401962671949796828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751494503959,"filename":"image_03072025_00_13_01_7467.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370180112"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370180112"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.891549825668335 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:15:03.976478
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/14/image_03072025_00_14_01_9939.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/14/image_03072025_00_14_01_9939.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/14/image_03072025_00_14_01_9939.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370180403"],"photo_id":"1370180403","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/1e762d35040c4622032a8380d1c35b5d.jpg","text":"TemporaryFile(/tmp/multipartBody724548483067382611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751494565241,"filename":"image_03072025_00_14_01_9939.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370180403"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370180403"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.587988138198853 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:16:02.801808
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/15/image_03072025_00_15_01_3448.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/15/image_03072025_00_15_01_3448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/15/image_03072025_00_15_01_3448.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370180798"],"photo_id":"1370180798","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/a5ec9d6a0c667889da48e1cc693b4531.jpg","text":"TemporaryFile(/tmp/multipartBody9159969059030345916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751494624011,"filename":"image_03072025_00_15_01_3448.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370180798"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370180798"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.954867839813232 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:17:04.044949
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/16/image_03072025_00_16_02_0344.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/16/image_03072025_00_16_02_0344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/16/image_03072025_00_16_02_0344.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370181001"],"photo_id":"1370181001","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/576f34954f1ae1675ef76e6e6813c116.jpg","text":"TemporaryFile(/tmp/multipartBody2594085158073610183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751494685278,"filename":"image_03072025_00_16_02_0344.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370181001"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370181001"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.46660327911377 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:18:02.940492
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/17/image_03072025_00_17_01_3209.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/17/image_03072025_00_17_01_3209.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/17/image_03072025_00_17_01_3209.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370181083"],"photo_id":"1370181083","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f6cd9cc4ed97c1d29be30f73d19ba6c9.jpg","text":"TemporaryFile(/tmp/multipartBody2480826789051168797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751494744159,"filename":"image_03072025_00_17_01_3209.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370181083"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370181083"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.494158506393433 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:19:03.278577
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/18/image_03072025_00_18_02_1890.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/18/image_03072025_00_18_02_1890.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/18/image_03072025_00_18_02_1890.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370181259"],"photo_id":"1370181259","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/81097e36449df6c1c768b66bcdc1d2e5.jpg","text":"TemporaryFile(/tmp/multipartBody8456725856429460912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751494804558,"filename":"image_03072025_00_18_02_1890.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370181259"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370181259"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.811699628829956 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:20:03.718568
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/19/image_03072025_00_19_01_5591.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/19/image_03072025_00_19_01_5591.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/19/image_03072025_00_19_01_5591.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370181406"],"photo_id":"1370181406","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/8aa7fdada41857e4bb431a75f804dd07.jpg","text":"TemporaryFile(/tmp/multipartBody623866374125008033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751494865015,"filename":"image_03072025_00_19_01_5591.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370181406"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370181406"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.377445459365845 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:21:03.813532
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/20/image_03072025_00_20_01_3800.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/20/image_03072025_00_20_01_3800.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/20/image_03072025_00_20_01_3800.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370181607"],"photo_id":"1370181607","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/1287a7f6829a41c3b85d9f7d80c19f16.jpg","text":"TemporaryFile(/tmp/multipartBody5156242722193697152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751494925054,"filename":"image_03072025_00_20_01_3800.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370181607"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370181607"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.718419075012207 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:22:03.594553
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/21/image_03072025_00_21_01_8023.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/21/image_03072025_00_21_01_8023.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/21/image_03072025_00_21_01_8023.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370181844"],"photo_id":"1370181844","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/c7e5a6eb94537a1531f5a6837e3fb983.jpg","text":"TemporaryFile(/tmp/multipartBody777532687162279145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751494984839,"filename":"image_03072025_00_21_01_8023.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370181844"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370181844"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.305338859558105 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:23:03.822915
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:24:02.832233
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/22/image_03072025_00_22_01_7841.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/22/image_03072025_00_22_01_7841.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/22/image_03072025_00_22_01_7841.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370183130"],"photo_id":"1370183130","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/233334089e7ff363435de2ad07a56c73.jpg","text":"TemporaryFile(/tmp/multipartBody4386173289078284879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751495104081,"filename":"image_03072025_00_22_01_7841.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370183130"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370183130"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.281333446502686 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:25:06.262541
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:26:03.635737
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:27:03.597075
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/24/image_03072025_00_24_01_9111.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/24/image_03072025_00_24_01_9111.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/24/image_03072025_00_24_01_9111.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370183535"],"photo_id":"1370183535","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/a13fca976c26eafb647730678a94e052.jpg","text":"TemporaryFile(/tmp/multipartBody3545938282968283174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751495284844,"filename":"image_03072025_00_24_01_9111.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370183535"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370183535"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.14780020713806 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:28:03.473626
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:29:03.659596
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
1 photos no longer on disk
no photos to upload
time to upload: 0.39504384994506836 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/03072025/00/30/image_03072025_00_30_01_8148.jpg'],)
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/30/image_03072025_00_30_01_8148.jpg', 2)]
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:30:02.638591
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:31:03.379210
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/27/image_03072025_00_27_01_4946.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/27/image_03072025_00_27_01_4946.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/27/image_03072025_00_27_01_4946.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370184492"],"photo_id":"1370184492","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/41b8ac554bdf5152b272f7f7f30b274e.jpg","text":"TemporaryFile(/tmp/multipartBody4122971910988005045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751495524645,"filename":"image_03072025_00_27_01_4946.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370184492"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370184492"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.88356590270996 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:32:03.137328
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/31/image_03072025_00_31_01_2510.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/31/image_03072025_00_31_01_2510.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/31/image_03072025_00_31_01_2510.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8011376857757568 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:33:03.246179
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/32/image_03072025_00_32_01_4052.jpg', 2), ('/home/pi/Desktop/images/03072025/00/31/image_03072025_00_31_01_2510.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/32/image_03072025_00_32_01_4052.jpg', '/home/pi/Desktop/images/03072025/00/31/image_03072025_00_31_01_2510.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/32/image_03072025_00_32_01_4052.jpg
/home/pi/Desktop/images/03072025/00/31/image_03072025_00_31_01_2510.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370184778","1370184843"],"photo_ids_order":["1370184778","1370184843"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/60eeaf61ebf5a885ede9d6d504ec49ff.jpg","text":"TemporaryFile(/tmp/multipartBody8044429343388364157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751495644929,"filename":"image_03072025_00_32_01_4052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/9252b2d6e0341d078c3c142e9ea6f00e.jpg","text":"TemporaryFile(/tmp/multipartBody199495230869486493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751495644929,"filename":"image_03072025_00_31_01_2510.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370184843","file0":"1370184778"},"map_files_photo_id_array":[{"photo_id":"1370184843","filename":"file1"},{"photo_id":"1370184778","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370184778":["hashtag1","hashtag2"]},{"1370184843":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370184778, 1370184843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.25160241127014 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:34:03.319492
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/33/image_03072025_00_33_01_6759.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/33/image_03072025_00_33_01_6759.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/33/image_03072025_00_33_01_6759.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370185288"],"photo_id":"1370185288","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/338f43c8a4cef3611eba43d30d0dadc0.jpg","text":"TemporaryFile(/tmp/multipartBody5461158095868292608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751495704562,"filename":"image_03072025_00_33_01_6759.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370185288"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370185288"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.590283155441284 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:35:03.403127
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/34/image_03072025_00_34_01_4156.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/34/image_03072025_00_34_01_4156.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/34/image_03072025_00_34_01_4156.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370185668"],"photo_id":"1370185668","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f1835dbc075574adce41cbc0f57912e7.jpg","text":"TemporaryFile(/tmp/multipartBody2614391216050144302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751495764704,"filename":"image_03072025_00_34_01_4156.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370185668"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370185668"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.221762895584106 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:36:03.276153
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/35/image_03072025_00_35_01_8202.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/35/image_03072025_00_35_01_8202.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/35/image_03072025_00_35_01_8202.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370186129"],"photo_id":"1370186129","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/fd40ac8c90a2612b43ee9f2ddd601c4a.jpg","text":"TemporaryFile(/tmp/multipartBody21721497443629690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751495824473,"filename":"image_03072025_00_35_01_8202.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370186129"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370186129"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.359127283096313 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:37:03.523255
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:38:02.824027
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/36/image_03072025_00_36_01_4998.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/36/image_03072025_00_36_01_4998.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/36/image_03072025_00_36_01_4998.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370187074"],"photo_id":"1370187074","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/10952498829375b0c488dbe5be05cba2.jpg","text":"TemporaryFile(/tmp/multipartBody413929149603232475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751495944012,"filename":"image_03072025_00_36_01_4998.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370187074"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370187074"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.25494122505188 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:39:03.971078
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/38/image_03072025_00_38_01_4139.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/38/image_03072025_00_38_01_4139.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/38/image_03072025_00_38_01_4139.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370187509"],"photo_id":"1370187509","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ff9138025434254a9f4407801586f5f2.jpg","text":"TemporaryFile(/tmp/multipartBody5012196563564926164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751496005172,"filename":"image_03072025_00_38_01_4139.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370187509"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370187509"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.043156147003174 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:40:02.863093
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/39/image_03072025_00_39_01_4544.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/39/image_03072025_00_39_01_4544.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/39/image_03072025_00_39_01_4544.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7921173572540283 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:41:04.161097
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/40/image_03072025_00_40_01_9895.jpg', 2), ('/home/pi/Desktop/images/03072025/00/39/image_03072025_00_39_01_4544.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/40/image_03072025_00_40_01_9895.jpg', '/home/pi/Desktop/images/03072025/00/39/image_03072025_00_39_01_4544.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/40/image_03072025_00_40_01_9895.jpg
/home/pi/Desktop/images/03072025/00/39/image_03072025_00_39_01_4544.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2753942012786865 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:42:02.638806
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/41/image_03072025_00_41_01_4746.jpg', 2), ('/home/pi/Desktop/images/03072025/00/40/image_03072025_00_40_01_9895.jpg', 2), ('/home/pi/Desktop/images/03072025/00/39/image_03072025_00_39_01_4544.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/41/image_03072025_00_41_01_4746.jpg', '/home/pi/Desktop/images/03072025/00/40/image_03072025_00_40_01_9895.jpg', '/home/pi/Desktop/images/03072025/00/39/image_03072025_00_39_01_4544.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/41/image_03072025_00_41_01_4746.jpg
/home/pi/Desktop/images/03072025/00/40/image_03072025_00_40_01_9895.jpg
/home/pi/Desktop/images/03072025/00/39/image_03072025_00_39_01_4544.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370188763","1370188579","1370188930"],"photo_ids_order":["1370188579","1370188763","1370188930"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d1aa17dadeac9a00d33ae3b72dbabec1.jpg","text":"TemporaryFile(/tmp/multipartBody7395479841938180499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751496184702,"filename":"image_03072025_00_40_01_9895.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/408a1686eef2c8f13d5eafb24b09b36a.jpg","text":"TemporaryFile(/tmp/multipartBody3479725695754997125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751496184702,"filename":"image_03072025_00_41_01_4746.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/928c69214a997037ec6f3e5df9434594.jpg","text":"TemporaryFile(/tmp/multipartBody7866531381211514042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751496184702,"filename":"image_03072025_00_39_01_4544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370188930","file1":"1370188763","file0":"1370188579"},"map_files_photo_id_array":[{"photo_id":"1370188930","filename":"file2"},{"photo_id":"1370188763","filename":"file1"},{"photo_id":"1370188579","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370188763":["hashtag1","hashtag2"]},{"1370188579":["hashtag1","hashtag2"]},{"1370188930":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370188763, 1370188579, 1370188930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.576587200164795 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:43:03.351841
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:44:02.582177
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/43/image_03072025_00_43_01_3196.jpg', 2), ('/home/pi/Desktop/images/03072025/00/42/image_03072025_00_42_02_2151.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/43/image_03072025_00_43_01_3196.jpg', '/home/pi/Desktop/images/03072025/00/42/image_03072025_00_42_02_2151.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/43/image_03072025_00_43_01_3196.jpg
/home/pi/Desktop/images/03072025/00/42/image_03072025_00_42_02_2151.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370190085","1370189991"],"photo_ids_order":["1370189991","1370190085"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d21625e2f438697ce2ddaabea49f7ab8.jpg","text":"TemporaryFile(/tmp/multipartBody2810467181913373474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751496304274,"filename":"image_03072025_00_42_02_2151.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ba37e4478a1903d207e12c29a7400d18.jpg","text":"TemporaryFile(/tmp/multipartBody8183100100689767912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751496304274,"filename":"image_03072025_00_43_01_3196.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370190085","file0":"1370189991"},"map_files_photo_id_array":[{"photo_id":"1370190085","filename":"file1"},{"photo_id":"1370189991","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370190085":["hashtag1","hashtag2"]},{"1370189991":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370190085, 1370189991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.604523420333862 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:45:03.561662
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/44/image_03072025_00_44_01_3928.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/44/image_03072025_00_44_01_3928.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/44/image_03072025_00_44_01_3928.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370190725"],"photo_id":"1370190725","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7fe132565c978827bc81ee9e947bde4d.jpg","text":"TemporaryFile(/tmp/multipartBody7771704588739293332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751496364853,"filename":"image_03072025_00_44_01_3928.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370190725"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370190725"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.885807275772095 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:46:03.563059
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/45/image_03072025_00_45_01_1684.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/45/image_03072025_00_45_01_1684.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/45/image_03072025_00_45_01_1684.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370190951"],"photo_id":"1370190951","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/412771609e7105126eb2c272b005943b.jpg","text":"TemporaryFile(/tmp/multipartBody2741912988371958915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751496424770,"filename":"image_03072025_00_45_01_1684.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370190951"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370190951"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.759642362594604 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:47:03.818580
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:48:03.141877
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:49:03.556211
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:50:03.480408
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:51:03.405201
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/46/image_03072025_00_46_01_7542.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/46/image_03072025_00_46_01_7542.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/46/image_03072025_00_46_01_7542.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370192934"],"photo_id":"1370192934","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ff86761603cd2fa61e82a2f0afe979e1.jpg","text":"TemporaryFile(/tmp/multipartBody2942968085534671717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751496724622,"filename":"image_03072025_00_46_01_7542.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370192934"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370192934"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.229138612747192 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:52:03.061044
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:53:04.167174
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/51/image_03072025_00_51_02_1133.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/51/image_03072025_00_51_02_1133.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/51/image_03072025_00_51_02_1133.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370193070"],"photo_id":"1370193070","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/4a84d51240ba2a18ec4f920056885395.jpg","text":"TemporaryFile(/tmp/multipartBody8327032470690664406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751496845437,"filename":"image_03072025_00_51_02_1133.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370193070"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370193070"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.84129238128662 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:54:03.452704
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:55:03.472584
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:56:02.921529
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/53/image_03072025_00_53_01_6649.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/53/image_03072025_00_53_01_6649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/53/image_03072025_00_53_01_6649.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370193822"],"photo_id":"1370193822","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/da99fcfdb6d52fff465ba83257315d7e.jpg","text":"TemporaryFile(/tmp/multipartBody7419295867163872552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751497024138,"filename":"image_03072025_00_53_01_6649.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370193822"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370193822"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.304752349853516 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:57:03.883708
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 00:59:03.718432
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/56/image_03072025_00_56_01_6033.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/56/image_03072025_00_56_01_6033.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/56/image_03072025_00_56_01_6033.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370195893"],"photo_id":"1370195893","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/0f172a19bee4a07ad56b0afd0065667a.jpg","text":"TemporaryFile(/tmp/multipartBody5993457173657565986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751497204940,"filename":"image_03072025_00_56_01_6033.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370195893"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370195893"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.592823028564453 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:00:03.240426
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:01:03.244989
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/00/58/image_03072025_00_58_02_1297.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/00/58/image_03072025_00_58_02_1297.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/00/58/image_03072025_00_58_02_1297.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370196623"],"photo_id":"1370196623","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/c8eaf6f28558af183d4e2205d7db09fb.jpg","text":"TemporaryFile(/tmp/multipartBody8683833957561111148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751497324454,"filename":"image_03072025_00_58_02_1297.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370196623"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370196623"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.72367238998413 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:02:02.751208
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/01/image_03072025_01_01_01_9451.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/01/image_03072025_01_01_01_9451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/01/image_03072025_01_01_01_9451.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370197069"],"photo_id":"1370197069","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/3966f40881f5c9cd6a5c7f4ecd0bf997.jpg","text":"TemporaryFile(/tmp/multipartBody3069513323905420098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751497383950,"filename":"image_03072025_01_01_01_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370197069"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370197069"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.54486846923828 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:03:03.860040
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/02/image_03072025_01_02_01_1537.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/02/image_03072025_01_02_01_1537.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/02/image_03072025_01_02_01_1537.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370197700"],"photo_id":"1370197700","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/a413c852389dec6044b5043f1a374ead.jpg","text":"TemporaryFile(/tmp/multipartBody8622204956247755631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751497445134,"filename":"image_03072025_01_02_01_1537.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370197700"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370197700"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.389572858810425 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:04:03.524666
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/03/image_03072025_01_03_01_3541.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/03/image_03072025_01_03_01_3541.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/03/image_03072025_01_03_01_3541.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370198655"],"photo_id":"1370198655","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/aef0b19e8aadabe36f318fa79536c86a.jpg","text":"TemporaryFile(/tmp/multipartBody1376304843127516173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751497504690,"filename":"image_03072025_01_03_01_3541.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370198655"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370198655"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.673213720321655 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:05:03.710149
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/04/image_03072025_01_04_02_0755.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/04/image_03072025_01_04_02_0755.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/04/image_03072025_01_04_02_0755.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370199234"],"photo_id":"1370199234","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/1125c92242a2da70112e7a2a1d2682c5.jpg","text":"TemporaryFile(/tmp/multipartBody1441985346057120659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751497564918,"filename":"image_03072025_01_04_02_0755.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370199234"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370199234"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.808461904525757 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:06:03.679650
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/05/image_03072025_01_05_02_2028.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/05/image_03072025_01_05_02_2028.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/05/image_03072025_01_05_02_2028.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370199776"],"photo_id":"1370199776","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5a1eb8173e1149ca233a69b371d05f0b.jpg","text":"TemporaryFile(/tmp/multipartBody957855578445158081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751497624873,"filename":"image_03072025_01_05_02_2028.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370199776"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370199776"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.60681653022766 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:07:03.701615
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:08:03.335493
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/06/image_03072025_01_06_01_7342.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/06/image_03072025_01_06_01_7342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/06/image_03072025_01_06_01_7342.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370200504"],"photo_id":"1370200504","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d74e8d9b20337e6f36cdf622e0e9e23f.jpg","text":"TemporaryFile(/tmp/multipartBody4361327422196780780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751497744515,"filename":"image_03072025_01_06_01_7342.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370200504"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370200504"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.469032287597656 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:09:03.650803
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/08/image_03072025_01_08_01_8897.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/08/image_03072025_01_08_01_8897.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/08/image_03072025_01_08_01_8897.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370200888"],"photo_id":"1370200888","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/8b296604cc54228e3848d4ce7e073866.jpg","text":"TemporaryFile(/tmp/multipartBody6181883734653956392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751497804857,"filename":"image_03072025_01_08_01_8897.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370200888"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370200888"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.30541443824768 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:10:03.051608
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:11:03.788152
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:12:03.591543
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/09/image_03072025_01_09_01_9783.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/09/image_03072025_01_09_01_9783.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/09/image_03072025_01_09_01_9783.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370201683"],"photo_id":"1370201683","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/06d5294942a1fd3732332291bc33e6aa.jpg","text":"TemporaryFile(/tmp/multipartBody7103884899626972652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751497984805,"filename":"image_03072025_01_09_01_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370201683"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370201683"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.699910640716553 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:13:03.938590
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:14:03.487017
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:15:03.388736
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:16:03.024657
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/12/image_03072025_01_12_02_1452.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/12/image_03072025_01_12_02_1452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/12/image_03072025_01_12_02_1452.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7809178829193115 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:17:04.045990
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/16/image_03072025_01_16_01_5259.jpg', 2), ('/home/pi/Desktop/images/03072025/01/12/image_03072025_01_12_02_1452.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/16/image_03072025_01_16_01_5259.jpg', '/home/pi/Desktop/images/03072025/01/12/image_03072025_01_12_02_1452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/16/image_03072025_01_16_01_5259.jpg
/home/pi/Desktop/images/03072025/01/12/image_03072025_01_12_02_1452.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370204389","1370204316"],"photo_ids_order":["1370204316","1370204389"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5eff66232215da793b80d20e0e13e0a4.jpg","text":"TemporaryFile(/tmp/multipartBody588700985801612848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751498285710,"filename":"image_03072025_01_12_02_1452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/554d20357519e68be6cfae233ee80208.jpg","text":"TemporaryFile(/tmp/multipartBody3348017297835895777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751498285710,"filename":"image_03072025_01_16_01_5259.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370204389","file0":"1370204316"},"map_files_photo_id_array":[{"photo_id":"1370204389","filename":"file1"},{"photo_id":"1370204316","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370204389":["hashtag1","hashtag2"]},{"1370204316":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370204389, 1370204316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.28774619102478 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:18:02.614414
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/17/image_03072025_01_17_01_7587.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/17/image_03072025_01_17_01_7587.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/17/image_03072025_01_17_01_7587.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370204592"],"photo_id":"1370204592","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/430c4421f552d54fca2f21ac8562645b.jpg","text":"TemporaryFile(/tmp/multipartBody3983175654450138569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751498343840,"filename":"image_03072025_01_17_01_7587.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370204592"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370204592"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.691556930541992 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:19:03.396453
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
1 photos no longer on disk
no photos to upload
time to upload: 0.4822351932525635 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/03072025/01/20/image_03072025_01_20_01_6538.jpg'],)
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/20/image_03072025_01_20_01_6538.jpg', 2)]
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:20:02.832505
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/18/image_03072025_01_18_02_2103.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/18/image_03072025_01_18_02_2103.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/18/image_03072025_01_18_02_2103.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370205096"],"photo_id":"1370205096","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f74e1783c416c761302be4397578ad53.jpg","text":"TemporaryFile(/tmp/multipartBody2625705334402316745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751498464061,"filename":"image_03072025_01_18_02_2103.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370205096"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370205096"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.809345722198486 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:21:03.417259
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/19/image_03072025_01_19_01_2093.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/19/image_03072025_01_19_01_2093.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/19/image_03072025_01_19_01_2093.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370205289"],"photo_id":"1370205289","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/6e370ee412d9cc417ef0722abff235a6.jpg","text":"TemporaryFile(/tmp/multipartBody7113455795511816039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751498524605,"filename":"image_03072025_01_19_01_2093.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370205289"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370205289"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.912742614746094 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:22:03.072412
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/21/image_03072025_01_21_01_4156.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/21/image_03072025_01_21_01_4156.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/21/image_03072025_01_21_01_4156.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370205581"],"photo_id":"1370205581","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/8c1e824d106b91d03ed2f6e6c894e4e2.jpg","text":"TemporaryFile(/tmp/multipartBody210009964531926239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751498584254,"filename":"image_03072025_01_21_01_4156.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370205581"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370205581"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.405815601348877 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:23:04.119427
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/22/image_03072025_01_22_01_7243.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/22/image_03072025_01_22_01_7243.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/22/image_03072025_01_22_01_7243.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370206043"],"photo_id":"1370206043","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/e46a18b8024a7379a111d5bdb5bbeae6.jpg","text":"TemporaryFile(/tmp/multipartBody577971062866061189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751498645381,"filename":"image_03072025_01_22_01_7243.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370206043"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370206043"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.750190496444702 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:24:02.977122
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:25:06.202177
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:26:03.519400
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/23/image_03072025_01_23_01_7294.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/23/image_03072025_01_23_01_7294.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/23/image_03072025_01_23_01_7294.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370206787"],"photo_id":"1370206787","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/6c94bb0e6ea652944c87026994a3bf79.jpg","text":"TemporaryFile(/tmp/multipartBody5058482679230415407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751498824987,"filename":"image_03072025_01_23_01_7294.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370206787"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370206787"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.029855966567993 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:27:03.368240
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:28:03.169734
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:29:03.089451
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:30:02.786390
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:31:03.998262
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/26/image_03072025_01_26_01_6303.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/26/image_03072025_01_26_01_6303.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/26/image_03072025_01_26_01_6303.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370208412"],"photo_id":"1370208412","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/717624424501652d62b535b21d75b98f.jpg","text":"TemporaryFile(/tmp/multipartBody5888307907009835044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751499125179,"filename":"image_03072025_01_26_01_6303.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370208412"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370208412"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 20.128370761871338 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:32:03.384296
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:33:03.241448
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:34:02.906737
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:35:03.706856
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/31/image_03072025_01_31_01_3943.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/31/image_03072025_01_31_01_3943.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/31/image_03072025_01_31_01_3943.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370210602"],"photo_id":"1370210602","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/10a895132282810b5ce553f133f490b2.jpg","text":"TemporaryFile(/tmp/multipartBody1055203615689828969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751499364987,"filename":"image_03072025_01_31_01_3943.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370210602"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370210602"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.26267433166504 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:36:03.413581
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:37:03.732783
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/35/image_03072025_01_35_01_5524.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/35/image_03072025_01_35_01_5524.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/35/image_03072025_01_35_01_5524.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370212393"],"photo_id":"1370212393","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/80c0cdde7e7576ed60990c8407829ab1.jpg","text":"TemporaryFile(/tmp/multipartBody3714606011075595227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751499485035,"filename":"image_03072025_01_35_01_5524.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370212393"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370212393"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.521111011505127 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:38:03.453724
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:39:03.548346
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:40:03.070580
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:41:04.120542
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/37/image_03072025_01_37_02_0596.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/37/image_03072025_01_37_02_0596.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/37/image_03072025_01_37_02_0596.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370213849"],"photo_id":"1370213849","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/45f1b92baf7c444b7ab2b4ef44339192.jpg","text":"TemporaryFile(/tmp/multipartBody6711669073119869413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751499725404,"filename":"image_03072025_01_37_02_0596.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370213849"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370213849"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.3461492061615 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:42:03.454614
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/41/image_03072025_01_41_01_7037.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/41/image_03072025_01_41_01_7037.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/41/image_03072025_01_41_01_7037.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370213972"],"photo_id":"1370213972","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d0ab87b301fe5930cd0a4409d63057da.jpg","text":"TemporaryFile(/tmp/multipartBody2738840973153160717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751499784651,"filename":"image_03072025_01_41_01_7037.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370213972"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370213972"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.415875673294067 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:43:03.505137
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/42/image_03072025_01_42_02_2930.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/42/image_03072025_01_42_02_2930.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/42/image_03072025_01_42_02_2930.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370214078"],"photo_id":"1370214078","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2e9ef6eac004d9fed182d7fb873621ba.jpg","text":"TemporaryFile(/tmp/multipartBody5732525185734414899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751499844726,"filename":"image_03072025_01_42_02_2930.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370214078"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370214078"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.42546582221985 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:44:02.873886
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/43/image_03072025_01_43_02_0881.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/43/image_03072025_01_43_02_0881.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/43/image_03072025_01_43_02_0881.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370214454"],"photo_id":"1370214454","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d8cbf4e8f073a584ed71bb8dd4e214a9.jpg","text":"TemporaryFile(/tmp/multipartBody6507697132779432375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751499904114,"filename":"image_03072025_01_43_02_0881.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370214454"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370214454"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.10560417175293 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:45:03.745216
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:46:03.184248
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:47:04.158993
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:48:02.738609
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:49:03.480468
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:50:03.327393
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/49/image_03072025_01_49_01_4421.jpg', 2), ('/home/pi/Desktop/images/03072025/01/44/image_03072025_01_44_01_5760.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/49/image_03072025_01_49_01_4421.jpg', '/home/pi/Desktop/images/03072025/01/44/image_03072025_01_44_01_5760.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/49/image_03072025_01_49_01_4421.jpg
/home/pi/Desktop/images/03072025/01/44/image_03072025_01_44_01_5760.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370216785","1370216731"],"photo_ids_order":["1370216731","1370216785"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/0837156a75393fbe41c7355b894591d4.jpg","text":"TemporaryFile(/tmp/multipartBody2938590220471518541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751500264924,"filename":"image_03072025_01_44_01_5760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7c33ce1c85fea0053a25da149def0010.jpg","text":"TemporaryFile(/tmp/multipartBody3123283292526898357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751500264924,"filename":"image_03072025_01_49_01_4421.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370216785","file0":"1370216731"},"map_files_photo_id_array":[{"photo_id":"1370216785","filename":"file1"},{"photo_id":"1370216731","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370216785":["hashtag1","hashtag2"]},{"1370216731":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370216785, 1370216731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.75120973587036 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:51:03.370150
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/50/image_03072025_01_50_01_5437.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/50/image_03072025_01_50_01_5437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/50/image_03072025_01_50_01_5437.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370216993"],"photo_id":"1370216993","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2aafa7bf7e2908c355f5ebd581b05a29.jpg","text":"TemporaryFile(/tmp/multipartBody1464133991554535891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751500324668,"filename":"image_03072025_01_50_01_5437.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370216993"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370216993"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.77753734588623 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:52:03.064172
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/51/image_03072025_01_51_02_0159.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/51/image_03072025_01_51_02_0159.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/51/image_03072025_01_51_02_0159.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370217500"],"photo_id":"1370217500","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b4ea6690e62b091f7aad65bd71b717c4.jpg","text":"TemporaryFile(/tmp/multipartBody4710828554195918977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751500384718,"filename":"image_03072025_01_51_02_0159.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370217500"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370217500"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.636091947555542 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:53:03.990008
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/52/image_03072025_01_52_01_4193.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/52/image_03072025_01_52_01_4193.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/52/image_03072025_01_52_01_4193.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370218013"],"photo_id":"1370218013","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/1490bf49ae4533b32d9ecd9eafdf4a54.jpg","text":"TemporaryFile(/tmp/multipartBody9055501164358803617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751500445251,"filename":"image_03072025_01_52_01_4193.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370218013"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370218013"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.356317281723022 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:54:03.334816
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/53/image_03072025_01_53_01_7242.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/53/image_03072025_01_53_01_7242.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/53/image_03072025_01_53_01_7242.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8473365306854248 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:55:03.125847
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/53/image_03072025_01_53_01_7242.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/53/image_03072025_01_53_01_7242.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/53/image_03072025_01_53_01_7242.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370218781"],"photo_id":"1370218781","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/e8cb57f8733ddab7e2c7ece745417070.jpg","text":"TemporaryFile(/tmp/multipartBody4189372244196917152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751500564382,"filename":"image_03072025_01_53_01_7242.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370218781"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370218781"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.479586124420166 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:56:03.904225
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:57:03.073605
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 01:59:03.200807
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:00:02.709952
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/01/54/image_03072025_01_54_02_1586.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/01/54/image_03072025_01_54_02_1586.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/01/54/image_03072025_01_54_02_1586.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370220911"],"photo_id":"1370220911","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/27d7811b5171217772d852ecd2d872b0.jpg","text":"TemporaryFile(/tmp/multipartBody2468353566899454953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751500863864,"filename":"image_03072025_01_54_02_1586.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370220911"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370220911"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.248600959777832 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:01:03.621620
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/00/image_03072025_02_00_01_4391.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/00/image_03072025_02_00_01_4391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/00/image_03072025_02_00_01_4391.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370221628"],"photo_id":"1370221628","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/34c852102761379bcd79e1fe1a7485b1.jpg","text":"TemporaryFile(/tmp/multipartBody7099851780153033735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751500925014,"filename":"image_03072025_02_00_01_4391.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370221628"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370221628"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.720394372940063 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:02:03.091919
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:03:03.996412
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:04:03.381083
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/01/image_03072025_02_01_01_3230.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/01/image_03072025_02_01_01_3230.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/01/image_03072025_02_01_01_3230.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370223688"],"photo_id":"1370223688","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/6e004bd743b2ea5b7f0502e4787bb640.jpg","text":"TemporaryFile(/tmp/multipartBody258098777566383761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751501104609,"filename":"image_03072025_02_01_01_3230.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370223688"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370223688"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.846813917160034 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:05:03.836388
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:06:03.106771
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:07:04.073301
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:08:03.425478
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:09:03.344537
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:10:03.404914
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/10/image_03072025_02_10_01_5986.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/10/image_03072025_02_10_01_5986.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/10/image_03072025_02_10_01_5986.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370226082"],"photo_id":"1370226082","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/8da309038adbcbac3b0853b9dc57d1a4.jpg","text":"TemporaryFile(/tmp/multipartBody7104401766396712862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751501464545,"filename":"image_03072025_02_10_01_5986.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370226082"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370226082"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.554901599884033 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:11:04.049576
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:12:03.430758
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:13:03.822299
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/04/image_03072025_02_04_02_0521.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/04/image_03072025_02_04_02_0521.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/04/image_03072025_02_04_02_0521.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370226739"],"photo_id":"1370226739","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/73804dfc2de2d4ecebcaed1f315ee804.jpg","text":"TemporaryFile(/tmp/multipartBody3912436926548477580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751501645075,"filename":"image_03072025_02_04_02_0521.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370226739"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370226739"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 30.294687271118164 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:14:03.173591
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/13/image_03072025_02_13_02_0185.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/13/image_03072025_02_13_02_0185.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/13/image_03072025_02_13_02_0185.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370227011"],"photo_id":"1370227011","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/e6e31dbac9d2aeb06b33a488f0851fd3.jpg","text":"TemporaryFile(/tmp/multipartBody287830042881368136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751501704488,"filename":"image_03072025_02_13_02_0185.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370227011"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370227011"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.608068466186523 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:15:03.228606
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/14/image_03072025_02_14_01_8342.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/14/image_03072025_02_14_01_8342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/14/image_03072025_02_14_01_8342.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370227467"],"photo_id":"1370227467","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/007b458d8b39d92703f065c8a2f55083.jpg","text":"TemporaryFile(/tmp/multipartBody6242770760233666069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751501764501,"filename":"image_03072025_02_14_01_8342.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370227467"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370227467"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.391733407974243 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:16:03.676275
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/15/image_03072025_02_15_01_8013.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/15/image_03072025_02_15_01_8013.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/15/image_03072025_02_15_01_8013.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370227923"],"photo_id":"1370227923","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7e68838be90f2ac1b0c53c4d32aad7fc.jpg","text":"TemporaryFile(/tmp/multipartBody3520461874650652792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751501824923,"filename":"image_03072025_02_15_01_8013.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370227923"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370227923"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.874531507492065 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:17:03.402442
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/16/image_03072025_02_16_01_3760.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/16/image_03072025_02_16_01_3760.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/16/image_03072025_02_16_01_3760.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370228394"],"photo_id":"1370228394","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/68a9393e955a5b57c24a78be970640ff.jpg","text":"TemporaryFile(/tmp/multipartBody8370520552636720461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751501884665,"filename":"image_03072025_02_16_01_3760.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370228394"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370228394"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.13875150680542 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:18:02.697827
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:19:03.718891
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/17/image_03072025_02_17_02_3242.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/17/image_03072025_02_17_02_3242.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/17/image_03072025_02_17_02_3242.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370229379"],"photo_id":"1370229379","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/3e64a9ec28e167d60458a6471366a50a.jpg","text":"TemporaryFile(/tmp/multipartBody3204370661305912744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751502005023,"filename":"image_03072025_02_17_02_3242.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370229379"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370229379"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.915233850479126 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:20:03.052612
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/19/image_03072025_02_19_01_4489.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/19/image_03072025_02_19_01_4489.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/19/image_03072025_02_19_01_4489.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370230202"],"photo_id":"1370230202","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/368fdea26d344989cff7e3e336894d99.jpg","text":"TemporaryFile(/tmp/multipartBody6521072480816490731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751502064272,"filename":"image_03072025_02_19_01_4489.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370230202"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370230202"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.37701964378357 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:21:03.810702
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:22:03.379664
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/20/image_03072025_02_20_01_9442.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/20/image_03072025_02_20_01_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/20/image_03072025_02_20_01_9442.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370230838"],"photo_id":"1370230838","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/96809033da493d136e0ab207e3287dd9.jpg","text":"TemporaryFile(/tmp/multipartBody569555657246970686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751502184582,"filename":"image_03072025_02_20_01_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370230838"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370230838"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.66159987449646 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:23:03.409570
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:24:03.046839
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/22/image_03072025_02_22_02_1146.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/22/image_03072025_02_22_02_1146.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/22/image_03072025_02_22_02_1146.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370231650"],"photo_id":"1370231650","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b53e0cf277821a59aeb38298a9aff6e9.jpg","text":"TemporaryFile(/tmp/multipartBody6531499037286723569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751502304213,"filename":"image_03072025_02_22_02_1146.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370231650"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370231650"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.44302535057068 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:25:06.177382
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/24/image_03072025_02_24_01_5563.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/24/image_03072025_02_24_01_5563.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/24/image_03072025_02_24_01_5563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370232219"],"photo_id":"1370232219","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/41afe88644c1708ae04c069233ad54f1.jpg","text":"TemporaryFile(/tmp/multipartBody2460863959643206916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751502367817,"filename":"image_03072025_02_24_01_5563.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370232219"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370232219"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.77560329437256 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:26:03.684272
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/25/image_03072025_02_25_01_5907.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/25/image_03072025_02_25_01_5907.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/25/image_03072025_02_25_01_5907.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370232733"],"photo_id":"1370232733","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/a4f4ee7d8d09e3581efe661bab33cb4f.jpg","text":"TemporaryFile(/tmp/multipartBody2703301254850885193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751502425108,"filename":"image_03072025_02_25_01_5907.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370232733"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370232733"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 19.999679803848267 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:27:03.520104
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/26/image_03072025_02_26_01_5054.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/26/image_03072025_02_26_01_5054.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/26/image_03072025_02_26_01_5054.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370233210"],"photo_id":"1370233210","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/af6a48bb2e17d4dc0c20b5845d713b75.jpg","text":"TemporaryFile(/tmp/multipartBody3682098646351538386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751502484716,"filename":"image_03072025_02_26_01_5054.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370233210"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370233210"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.715805768966675 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:28:02.891572
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/27/image_03072025_02_27_01_9522.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/27/image_03072025_02_27_01_9522.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/27/image_03072025_02_27_01_9522.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370233601"],"photo_id":"1370233601","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/a7df4342b8526b58ccd7225d7efb2584.jpg","text":"TemporaryFile(/tmp/multipartBody2626109029232370085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751502544108,"filename":"image_03072025_02_27_01_9522.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370233601"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370233601"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.792137622833252 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:29:03.985787
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:30:03.426433
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/28/image_03072025_02_28_01_7681.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/28/image_03072025_02_28_01_7681.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/28/image_03072025_02_28_01_7681.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370233911"],"photo_id":"1370233911","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d2a9bc7e476ae4c532ab18e58ac64295.jpg","text":"TemporaryFile(/tmp/multipartBody2986279047584497461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751502664626,"filename":"image_03072025_02_28_01_7681.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370233911"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370233911"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.636334896087646 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:31:03.860657
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/30/image_03072025_02_30_02_0096.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/30/image_03072025_02_30_02_0096.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/30/image_03072025_02_30_02_0096.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370234201"],"photo_id":"1370234201","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/778ade5b97c6cb4bcb9c043b19f84662.jpg","text":"TemporaryFile(/tmp/multipartBody5135920775964241006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751502725122,"filename":"image_03072025_02_30_02_0096.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370234201"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370234201"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.28847026824951 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:32:03.277584
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:33:03.281689
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:34:03.443481
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:35:03.283783
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/31/image_03072025_02_31_02_0276.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/31/image_03072025_02_31_02_0276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/31/image_03072025_02_31_02_0276.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370236072"],"photo_id":"1370236072","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/e83464890e0d6422535c4bf49725c85e.jpg","text":"TemporaryFile(/tmp/multipartBody1374282477703702851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751502964563,"filename":"image_03072025_02_31_02_0276.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370236072"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370236072"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.22722029685974 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:36:02.785691
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:37:03.774294
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:38:03.166506
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/35/image_03072025_02_35_02_0435.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/35/image_03072025_02_35_02_0435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/35/image_03072025_02_35_02_0435.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370237578"],"photo_id":"1370237578","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/64b5fd8a221e8a26846484a2890ef5a5.jpg","text":"TemporaryFile(/tmp/multipartBody1627877456057302750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751503144413,"filename":"image_03072025_02_35_02_0435.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370237578"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370237578"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.751691818237305 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:39:03.262532
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/38/image_03072025_02_38_01_9890.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/38/image_03072025_02_38_01_9890.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/38/image_03072025_02_38_01_9890.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370237898"],"photo_id":"1370237898","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/498ba4f56e5d767adacbb39c37065dc1.jpg","text":"TemporaryFile(/tmp/multipartBody6534326584967592408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751503204526,"filename":"image_03072025_02_38_01_9890.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370237898"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370237898"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.076728582382202 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:40:02.858882
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/39/image_03072025_02_39_01_8316.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/39/image_03072025_02_39_01_8316.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/39/image_03072025_02_39_01_8316.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370238239"],"photo_id":"1370238239","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/cb11d311a0431fcd9b9ef3091375909f.jpg","text":"TemporaryFile(/tmp/multipartBody5278074837926842102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751503264060,"filename":"image_03072025_02_39_01_8316.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370238239"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370238239"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.861859798431396 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:41:03.832430
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/40/image_03072025_02_40_01_2367.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/40/image_03072025_02_40_01_2367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/40/image_03072025_02_40_01_2367.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370238449"],"photo_id":"1370238449","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7aeeb53972cfe2ec93fe06e56de9a838.jpg","text":"TemporaryFile(/tmp/multipartBody5212577598876873574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751503325133,"filename":"image_03072025_02_40_01_2367.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370238449"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370238449"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.981056451797485 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:42:03.376009
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/41/image_03072025_02_41_01_4898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/41/image_03072025_02_41_01_4898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/41/image_03072025_02_41_01_4898.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370238667"],"photo_id":"1370238667","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7f1d838187a2234462d03ca90906dd4c.jpg","text":"TemporaryFile(/tmp/multipartBody7164103176295898822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751503384635,"filename":"image_03072025_02_41_01_4898.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370238667"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370238667"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.76591992378235 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:43:03.161236
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/42/image_03072025_02_42_01_9849.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/42/image_03072025_02_42_01_9849.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/42/image_03072025_02_42_01_9849.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370239126"],"photo_id":"1370239126","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/df32c288dbb78553a90c93dfb8511fb6.jpg","text":"TemporaryFile(/tmp/multipartBody6867922459259399118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751503444444,"filename":"image_03072025_02_42_01_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370239126"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370239126"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.015127897262573 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:44:04.170965
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/43/image_03072025_02_43_02_0417.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/43/image_03072025_02_43_02_0417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/43/image_03072025_02_43_02_0417.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370239364"],"photo_id":"1370239364","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5aefde24136ec48ab6d61904c7881fc8.jpg","text":"TemporaryFile(/tmp/multipartBody2616257638574226432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751503505441,"filename":"image_03072025_02_43_02_0417.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370239364"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370239364"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.463366508483887 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:45:03.599725
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/44/image_03072025_02_44_01_5529.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/44/image_03072025_02_44_01_5529.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/44/image_03072025_02_44_01_5529.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370239772"],"photo_id":"1370239772","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7f9dd5ab3ec4940415105936fc230b34.jpg","text":"TemporaryFile(/tmp/multipartBody7881111089664895694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751503564851,"filename":"image_03072025_02_44_01_5529.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370239772"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370239772"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 27.031825304031372 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:46:03.305629
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/45/image_03072025_02_45_01_5903.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/45/image_03072025_02_45_01_5903.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/45/image_03072025_02_45_01_5903.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370240703"],"photo_id":"1370240703","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b61af15aa7e23296dd9868db8931aa66.jpg","text":"TemporaryFile(/tmp/multipartBody5532375921231411100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751503624534,"filename":"image_03072025_02_45_01_5903.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370240703"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370240703"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 29.426214694976807 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:47:03.860299
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/46/image_03072025_02_46_01_9123.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/46/image_03072025_02_46_01_9123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/46/image_03072025_02_46_01_9123.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370241460"],"photo_id":"1370241460","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/71fb5bdb6491e4a7cf788d1c94dd758a.jpg","text":"TemporaryFile(/tmp/multipartBody1269226681155757410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751503685201,"filename":"image_03072025_02_46_01_9123.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370241460"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370241460"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 24.203463077545166 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:48:03.581053
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/47/image_03072025_02_47_01_7203.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/47/image_03072025_02_47_01_7203.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/47/image_03072025_02_47_01_7203.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370241932"],"photo_id":"1370241932","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/320b5f32baf9a69ff0af5a2fe372a1da.jpg","text":"TemporaryFile(/tmp/multipartBody6354663900717272618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751503744783,"filename":"image_03072025_02_47_01_7203.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370241932"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370241932"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.767229795455933 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:49:03.536579
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/48/image_03072025_02_48_02_0470.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/48/image_03072025_02_48_02_0470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/48/image_03072025_02_48_02_0470.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370242280"],"photo_id":"1370242280","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/9a8306de90e945e7b7f6a014670aee81.jpg","text":"TemporaryFile(/tmp/multipartBody2962352909151213142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751503804788,"filename":"image_03072025_02_48_02_0470.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370242280"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370242280"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.893142223358154 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:50:03.062315
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:51:04.201132
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:52:03.262360
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/49/image_03072025_02_49_01_9853.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/49/image_03072025_02_49_01_9853.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/49/image_03072025_02_49_01_9853.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370243080"],"photo_id":"1370243080","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f94fc27725579ba53db5aa6ddfbed976.jpg","text":"TemporaryFile(/tmp/multipartBody2887234847818258520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751503984472,"filename":"image_03072025_02_49_01_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370243080"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370243080"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.008124589920044 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:53:03.116940
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/52/image_03072025_02_52_02_0781.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/52/image_03072025_02_52_02_0781.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/52/image_03072025_02_52_02_0781.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370243367"],"photo_id":"1370243367","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/06905b379a4dc8bb56d5c41c13283f69.jpg","text":"TemporaryFile(/tmp/multipartBody1904261400337157960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751504044335,"filename":"image_03072025_02_52_02_0781.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370243367"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370243367"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.559834480285645 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:54:03.535626
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/53/image_03072025_02_53_02_0189.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/53/image_03072025_02_53_02_0189.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/53/image_03072025_02_53_02_0189.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370243490"],"photo_id":"1370243490","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/25e85cf8096dda34fda02c35c2a87bff.jpg","text":"TemporaryFile(/tmp/multipartBody3786355598293161355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751504104727,"filename":"image_03072025_02_53_02_0189.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370243490"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370243490"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.686552047729492 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:55:03.428951
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/54/image_03072025_02_54_01_3205.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/54/image_03072025_02_54_01_3205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/54/image_03072025_02_54_01_3205.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370243550"],"photo_id":"1370243550","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/9d0820b12b790e0de979e958dd00ef0d.jpg","text":"TemporaryFile(/tmp/multipartBody7886981958884613158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751504164680,"filename":"image_03072025_02_54_01_3205.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370243550"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370243550"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.706217765808105 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:56:03.571677
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/55/image_03072025_02_55_02_1646.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/55/image_03072025_02_55_02_1646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/55/image_03072025_02_55_02_1646.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370244047"],"photo_id":"1370244047","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/a84661b829fa4dc7eb1a937b06550ce4.jpg","text":"TemporaryFile(/tmp/multipartBody3288471083198898688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751504224793,"filename":"image_03072025_02_55_02_1646.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370244047"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370244047"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.49232530593872 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:57:04.643577
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/56/image_03072025_02_56_01_7082.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/56/image_03072025_02_56_01_7082.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/56/image_03072025_02_56_01_7082.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370244462"],"photo_id":"1370244462","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2e6fd1f232ec7be05d1a17e78f83fe3b.jpg","text":"TemporaryFile(/tmp/multipartBody8342230134887513867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751504285960,"filename":"image_03072025_02_56_01_7082.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370244462"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370244462"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.452893018722534 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 02:59:03.291625
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/00/image_03072025_03_00_01_3746.jpg', 2), ('/home/pi/Desktop/images/03072025/02/57/image_03072025_02_57_02_1507.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/57/image_03072025_02_57_02_1507.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/57/image_03072025_02_57_02_1507.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370245628"],"photo_id":"1370245628","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/6463ad42d5d14afb69b37eae2f9d22cd.jpg","text":"TemporaryFile(/tmp/multipartBody2712090117344197269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751504404786,"filename":"image_03072025_02_57_02_1507.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370245628"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370245628"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.701580286026 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/03072025/03/00/image_03072025_03_00_01_3746.jpg'],)
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:00:03.509292
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/58/image_03072025_02_58_02_0052.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/58/image_03072025_02_58_02_0052.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/58/image_03072025_02_58_02_0052.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370246582"],"photo_id":"1370246582","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/8690649d94b9d3ebdf21f04fee2ca233.jpg","text":"TemporaryFile(/tmp/multipartBody7645496041443723985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751504464700,"filename":"image_03072025_02_58_02_0052.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370246582"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370246582"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.45796298980713 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:01:03.646030
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/02/59/image_03072025_02_59_01_2430.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/02/59/image_03072025_02_59_01_2430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/02/59/image_03072025_02_59_01_2430.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370247394"],"photo_id":"1370247394","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/e99521019a269234ff37d06d9252f009.jpg","text":"TemporaryFile(/tmp/multipartBody4143751294187873437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751504524871,"filename":"image_03072025_02_59_01_2430.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370247394"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370247394"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.858620166778564 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:02:02.841646
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/01/image_03072025_03_01_02_1267.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/01/image_03072025_03_01_02_1267.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/01/image_03072025_03_01_02_1267.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370248097"],"photo_id":"1370248097","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/08baf560f7e48dd19d01d87e76e31262.jpg","text":"TemporaryFile(/tmp/multipartBody4175302999612010966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751504584080,"filename":"image_03072025_03_01_02_1267.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370248097"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370248097"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.527982711791992 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:03:03.656262
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/02/image_03072025_03_02_01_7817.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/02/image_03072025_03_02_01_7817.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/02/image_03072025_03_02_01_7817.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370248318"],"photo_id":"1370248318","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ea89c1c9eab987da7f2b7463500deb1c.jpg","text":"TemporaryFile(/tmp/multipartBody988541296078046764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751504644951,"filename":"image_03072025_03_02_01_7817.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370248318"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370248318"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.87869906425476 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:04:02.539818
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/03/image_03072025_03_03_01_5096.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/03/image_03072025_03_03_01_5096.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/03/image_03072025_03_03_01_5096.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370248393"],"photo_id":"1370248393","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/832ac5fbe757ad0e8ee27592f307c075.jpg","text":"TemporaryFile(/tmp/multipartBody4584316118108906559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751504703776,"filename":"image_03072025_03_03_01_5096.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370248393"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370248393"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.373899221420288 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:05:04.214966
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/04/image_03072025_03_04_01_9546.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/04/image_03072025_03_04_01_9546.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/04/image_03072025_03_04_01_9546.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370248501"],"photo_id":"1370248501","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/01775d166c8b70078916afad9c53bbee.jpg","text":"TemporaryFile(/tmp/multipartBody1391863549508814206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751504765542,"filename":"image_03072025_03_04_01_9546.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370248501"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370248501"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.68702268600464 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:06:02.957278
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/05/image_03072025_03_05_01_2010.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/05/image_03072025_03_05_01_2010.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/05/image_03072025_03_05_01_2010.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370248876"],"photo_id":"1370248876","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7925f64373e577011ecaa2bf600569ae.jpg","text":"TemporaryFile(/tmp/multipartBody8223762859762530949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751504824205,"filename":"image_03072025_03_05_01_2010.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370248876"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370248876"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.918285846710205 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:07:04.023719
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/06/image_03072025_03_06_02_2077.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/06/image_03072025_03_06_02_2077.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/06/image_03072025_03_06_02_2077.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370249078"],"photo_id":"1370249078","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/018acd51bb45e3f029d5dca580653a1c.jpg","text":"TemporaryFile(/tmp/multipartBody1473994429307302426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751504885271,"filename":"image_03072025_03_06_02_2077.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370249078"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370249078"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.919955492019653 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:08:03.011507
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:09:03.969367
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:10:02.696353
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/07/image_03072025_03_07_01_6591.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/07/image_03072025_03_07_01_6591.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/07/image_03072025_03_07_01_6591.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370249813"],"photo_id":"1370249813","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/990164945db0fd9038e1e78c88ddd505.jpg","text":"TemporaryFile(/tmp/multipartBody8364118686215827232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751505063890,"filename":"image_03072025_03_07_01_6591.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370249813"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370249813"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.744080781936646 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:11:03.304278
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:12:03.452529
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/10/image_03072025_03_10_02_1217.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/10/image_03072025_03_10_02_1217.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/10/image_03072025_03_10_02_1217.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370250269"],"photo_id":"1370250269","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/39e468ba0a6d876b278e420af4b492f4.jpg","text":"TemporaryFile(/tmp/multipartBody6219588739649982443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751505184647,"filename":"image_03072025_03_10_02_1217.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370250269"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370250269"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.453713178634644 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:13:03.705144
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:14:03.422669
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:15:03.154949
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:16:03.475358
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/11/image_03072025_03_11_01_3114.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/11/image_03072025_03_11_01_3114.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/11/image_03072025_03_11_01_3114.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370251548"],"photo_id":"1370251548","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/3194f0ce28a92dde8972d21f3e4e30e5.jpg","text":"TemporaryFile(/tmp/multipartBody2986833495968152444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751505424678,"filename":"image_03072025_03_11_01_3114.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370251548"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370251548"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.346394538879395 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:17:03.804664
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/16/image_03072025_03_16_01_3936.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/16/image_03072025_03_16_01_3936.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/16/image_03072025_03_16_01_3936.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370251969"],"photo_id":"1370251969","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/faf0af6691b417d8185588f0efa9df5a.jpg","text":"TemporaryFile(/tmp/multipartBody6147705053039202306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751505485039,"filename":"image_03072025_03_16_01_3936.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370251969"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370251969"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.340877771377563 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:18:02.852654
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/17/image_03072025_03_17_02_1178.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/17/image_03072025_03_17_02_1178.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/17/image_03072025_03_17_02_1178.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370252286"],"photo_id":"1370252286","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/82de429f0f3c5b53facc8afc2dc30066.jpg","text":"TemporaryFile(/tmp/multipartBody8436912275666056380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751505544053,"filename":"image_03072025_03_17_02_1178.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370252286"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370252286"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.32679510116577 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:19:03.370683
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/18/image_03072025_03_18_02_0615.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/18/image_03072025_03_18_02_0615.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/18/image_03072025_03_18_02_0615.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370252851"],"photo_id":"1370252851","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2ccacb3737a0bf957110ccac47a36344.jpg","text":"TemporaryFile(/tmp/multipartBody7628037870138458547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751505604606,"filename":"image_03072025_03_18_02_0615.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370252851"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370252851"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.63395881652832 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:20:03.458009
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:21:03.220802
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:22:03.434426
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:23:03.319157
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:24:02.817964
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/19/image_03072025_03_19_01_5093.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/19/image_03072025_03_19_01_5093.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/19/image_03072025_03_19_01_5093.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8264412879943848 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:25:05.593873
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/24/image_03072025_03_24_01_5040.jpg', 2), ('/home/pi/Desktop/images/03072025/03/19/image_03072025_03_19_01_5093.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/24/image_03072025_03_24_01_5040.jpg', '/home/pi/Desktop/images/03072025/03/19/image_03072025_03_19_01_5093.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/24/image_03072025_03_24_01_5040.jpg
/home/pi/Desktop/images/03072025/03/19/image_03072025_03_19_01_5093.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370254012","1370254068"],"photo_ids_order":["1370254012","1370254068"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2c2a47106d384133a1bcccbeb91212d7.jpg","text":"TemporaryFile(/tmp/multipartBody7686950327410365386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751505968066,"filename":"image_03072025_03_24_01_5040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/bfa10f910960780044679690b126360c.jpg","text":"TemporaryFile(/tmp/multipartBody6831010431398983456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751505968066,"filename":"image_03072025_03_19_01_5093.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370254068","file0":"1370254012"},"map_files_photo_id_array":[{"photo_id":"1370254068","filename":"file1"},{"photo_id":"1370254012","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370254012":["hashtag1","hashtag2"]},{"1370254068":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370254012, 1370254068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 26.278382539749146 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:26:03.384672
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/25/image_03072025_03_25_01_2535.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/25/image_03072025_03_25_01_2535.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/25/image_03072025_03_25_01_2535.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370254191"],"photo_id":"1370254191","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d34e3208af3c0f884e340f63a1aaf84b.jpg","text":"TemporaryFile(/tmp/multipartBody2542597953025220083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751506024828,"filename":"image_03072025_03_25_01_2535.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370254191"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370254191"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.796059131622314 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:27:03.137592
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/26/image_03072025_03_26_01_6244.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/26/image_03072025_03_26_01_6244.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/26/image_03072025_03_26_01_6244.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370254693"],"photo_id":"1370254693","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5bc55cb43f8dd4140517056ba192625e.jpg","text":"TemporaryFile(/tmp/multipartBody2374027601623833070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751506084337,"filename":"image_03072025_03_26_01_6244.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370254693"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370254693"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.177828073501587 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:28:02.749486
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:29:04.003705
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:30:03.427940
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:31:03.211103
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/27/image_03072025_03_27_01_2478.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/27/image_03072025_03_27_01_2478.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/27/image_03072025_03_27_01_2478.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370256531"],"photo_id":"1370256531","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/66ef9e4c648052805780cbad3ba98082.jpg","text":"TemporaryFile(/tmp/multipartBody4965543119914886475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751506324463,"filename":"image_03072025_03_27_01_2478.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370256531"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370256531"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.800081729888916 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:32:03.404643
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/31/image_03072025_03_31_02_0235.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/31/image_03072025_03_31_02_0235.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/31/image_03072025_03_31_02_0235.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370256872"],"photo_id":"1370256872","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/30d3a46cb82d9c019ce702c82fba3b16.jpg","text":"TemporaryFile(/tmp/multipartBody4248922009716711519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751506384611,"filename":"image_03072025_03_31_02_0235.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370256872"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370256872"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.41337275505066 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:33:03.195481
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/32/image_03072025_03_32_01_3686.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/32/image_03072025_03_32_01_3686.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/32/image_03072025_03_32_01_3686.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370257119"],"photo_id":"1370257119","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/12730b1f88e521e202a186e9af77935c.jpg","text":"TemporaryFile(/tmp/multipartBody8690920793864096072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751506444409,"filename":"image_03072025_03_32_01_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370257119"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370257119"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.607608556747437 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:34:02.965998
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/33/image_03072025_03_33_01_9464.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/33/image_03072025_03_33_01_9464.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/33/image_03072025_03_33_01_9464.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370257335"],"photo_id":"1370257335","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/85df4b09dd7c0b2df9cf9e69001dfcc2.jpg","text":"TemporaryFile(/tmp/multipartBody8326300921059342781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751506504185,"filename":"image_03072025_03_33_01_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370257335"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370257335"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.10161519050598 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:35:03.997178
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:36:03.326315
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/34/image_03072025_03_34_01_4439.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/34/image_03072025_03_34_01_4439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/34/image_03072025_03_34_01_4439.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370257662"],"photo_id":"1370257662","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/cbbb23e5f79a7965cdc0b23e5e9a0c2f.jpg","text":"TemporaryFile(/tmp/multipartBody8475446852151902877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751506624507,"filename":"image_03072025_03_34_01_4439.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370257662"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370257662"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.544886827468872 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:37:03.158903
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/36/image_03072025_03_36_02_1529.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/36/image_03072025_03_36_02_1529.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/36/image_03072025_03_36_02_1529.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370257998"],"photo_id":"1370257998","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f9e0daff4b81ffd6af2b36c69814c2f8.jpg","text":"TemporaryFile(/tmp/multipartBody564273785882511241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751506684355,"filename":"image_03072025_03_36_02_1529.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370257998"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370257998"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.322956800460815 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:38:02.843861
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:39:03.311144
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/38/image_03072025_03_38_01_1694.jpg', 2), ('/home/pi/Desktop/images/03072025/03/37/image_03072025_03_37_02_0166.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/38/image_03072025_03_38_01_1694.jpg', '/home/pi/Desktop/images/03072025/03/37/image_03072025_03_37_02_0166.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/38/image_03072025_03_38_01_1694.jpg
/home/pi/Desktop/images/03072025/03/37/image_03072025_03_37_02_0166.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370258366","1370258304"],"photo_ids_order":["1370258304","1370258366"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/28e70ccf1e8f34009da6d683061e8dd4.jpg","text":"TemporaryFile(/tmp/multipartBody261386671516598465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751506805034,"filename":"image_03072025_03_37_02_0166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/bef3ccb82b1ca000381db5b61dc22dfb.jpg","text":"TemporaryFile(/tmp/multipartBody1544963779619130212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751506805034,"filename":"image_03072025_03_38_01_1694.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370258366","file0":"1370258304"},"map_files_photo_id_array":[{"photo_id":"1370258366","filename":"file1"},{"photo_id":"1370258304","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370258366":["hashtag1","hashtag2"]},{"1370258304":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370258366, 1370258304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.165220975875854 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:40:03.004163
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/39/image_03072025_03_39_01_5745.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/39/image_03072025_03_39_01_5745.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/39/image_03072025_03_39_01_5745.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370258597"],"photo_id":"1370258597","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/29e6a9f76c11331682a94304b238bf6f.jpg","text":"TemporaryFile(/tmp/multipartBody3304025688258731100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751506864216,"filename":"image_03072025_03_39_01_5745.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370258597"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370258597"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.41567826271057 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:41:03.166778
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/40/image_03072025_03_40_01_3091.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/40/image_03072025_03_40_01_3091.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/40/image_03072025_03_40_01_3091.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370259117"],"photo_id":"1370259117","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/bc75f26991eba289c032bd1b102ce15f.jpg","text":"TemporaryFile(/tmp/multipartBody7297570096430530663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751506924376,"filename":"image_03072025_03_40_01_3091.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370259117"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370259117"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.454825401306152 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:42:02.656961
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/41/image_03072025_03_41_01_3899.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/41/image_03072025_03_41_01_3899.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/41/image_03072025_03_41_01_3899.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370259716"],"photo_id":"1370259716","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d86573124e039ee72e18b17933853b71.jpg","text":"TemporaryFile(/tmp/multipartBody8287797600360276626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751506983876,"filename":"image_03072025_03_41_01_3899.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370259716"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370259716"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.49250555038452 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:43:03.809315
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/42/image_03072025_03_42_01_3326.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/42/image_03072025_03_42_01_3326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/42/image_03072025_03_42_01_3326.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370260167"],"photo_id":"1370260167","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/6e8f6702ddf800ad17ac1cd6281d2ff6.jpg","text":"TemporaryFile(/tmp/multipartBody3755590556975625991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751507045021,"filename":"image_03072025_03_42_01_3326.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370260167"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370260167"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.642045497894287 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:44:03.197491
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/43/image_03072025_03_43_01_3750.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/43/image_03072025_03_43_01_3750.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/43/image_03072025_03_43_01_3750.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370260782"],"photo_id":"1370260782","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/625dac562a7f591e690a69a97dec7cb2.jpg","text":"TemporaryFile(/tmp/multipartBody6136078937883932756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751507104405,"filename":"image_03072025_03_43_01_3750.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370260782"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370260782"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.077945470809937 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:45:03.193415
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/44/image_03072025_03_44_01_9135.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/44/image_03072025_03_44_01_9135.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/44/image_03072025_03_44_01_9135.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370260975"],"photo_id":"1370260975","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/831ac8f8284845d9f8f6963e5a2aa5ba.jpg","text":"TemporaryFile(/tmp/multipartBody6838783611121223335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751507164421,"filename":"image_03072025_03_44_01_9135.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370260975"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370260975"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.294904708862305 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:46:02.665917
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/45/image_03072025_03_45_01_8759.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/45/image_03072025_03_45_01_8759.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/45/image_03072025_03_45_01_8759.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370261340"],"photo_id":"1370261340","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/1ea8ad5dccb6c9b04439175cdd6372c6.jpg","text":"TemporaryFile(/tmp/multipartBody4073521920313378763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751507223868,"filename":"image_03072025_03_45_01_8759.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370261340"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370261340"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.62339162826538 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:47:04.117084
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:48:03.476049
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/46/image_03072025_03_46_01_4059.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/46/image_03072025_03_46_01_4059.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/46/image_03072025_03_46_01_4059.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370261834"],"photo_id":"1370261834","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/c7a584d6ee05e220faaf37b0f3a179ab.jpg","text":"TemporaryFile(/tmp/multipartBody6353596805580397752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751507344684,"filename":"image_03072025_03_46_01_4059.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370261834"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370261834"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.86689066886902 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:49:03.863949
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
1 photos no longer on disk
no photos to upload
time to upload: 0.46857237815856934 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/03072025/03/50/image_03072025_03_50_02_0053.jpg'],)
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/50/image_03072025_03_50_02_0053.jpg', 2)]
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:50:02.707712
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:51:03.372483
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:52:03.405150
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:53:03.483947
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/48/image_03072025_03_48_01_9844.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/48/image_03072025_03_48_01_9844.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/48/image_03072025_03_48_01_9844.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370262521"],"photo_id":"1370262521","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/85037e7901265dcc90b20483b2def59d.jpg","text":"TemporaryFile(/tmp/multipartBody9185591432119078359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751507644695,"filename":"image_03072025_03_48_01_9844.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370262521"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370262521"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.353444576263428 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:54:03.082580
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/53/image_03072025_03_53_01_9576.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/53/image_03072025_03_53_01_9576.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/53/image_03072025_03_53_01_9576.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370262736"],"photo_id":"1370262736","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/56cf89f6a6659d00f9bf02bd2ee74c07.jpg","text":"TemporaryFile(/tmp/multipartBody8724094233365298079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751507704300,"filename":"image_03072025_03_53_01_9576.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370262736"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370262736"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.992549896240234 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:55:04.055315
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/54/image_03072025_03_54_01_8092.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/54/image_03072025_03_54_01_8092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/54/image_03072025_03_54_01_8092.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370262925"],"photo_id":"1370262925","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/c8831051c382004fd97bcd30cf302783.jpg","text":"TemporaryFile(/tmp/multipartBody1001789038603557604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751507765329,"filename":"image_03072025_03_54_01_8092.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370262925"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370262925"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.727365970611572 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:56:03.306021
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/55/image_03072025_03_55_01_6021.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/55/image_03072025_03_55_01_6021.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/55/image_03072025_03_55_01_6021.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370263420"],"photo_id":"1370263420","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/44f7de2854bf64c20e0034b1818bc018.jpg","text":"TemporaryFile(/tmp/multipartBody6265337138280436874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751507824539,"filename":"image_03072025_03_55_01_6021.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370263420"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370263420"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.238715410232544 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:57:02.905343
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/56/image_03072025_03_56_02_0913.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/56/image_03072025_03_56_02_0913.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/56/image_03072025_03_56_02_0913.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370264060"],"photo_id":"1370264060","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/3dcc40600cf7523fa2b521b9fad6474f.jpg","text":"TemporaryFile(/tmp/multipartBody5588877157700114273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751507884103,"filename":"image_03072025_03_56_02_0913.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370264060"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370264060"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.319364309310913 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 03:59:03.653400
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/58/image_03072025_03_58_01_2240.jpg', 2), ('/home/pi/Desktop/images/03072025/03/57/image_03072025_03_57_01_8789.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/58/image_03072025_03_58_01_2240.jpg', '/home/pi/Desktop/images/03072025/03/57/image_03072025_03_57_01_8789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/58/image_03072025_03_58_01_2240.jpg
/home/pi/Desktop/images/03072025/03/57/image_03072025_03_57_01_8789.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370265416","1370265477"],"photo_ids_order":["1370265416","1370265477"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/14d50e0f6152c65d80c3a13a8926ad84.jpg","text":"TemporaryFile(/tmp/multipartBody2834639351730321773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751508005366,"filename":"image_03072025_03_58_01_2240.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7358fd4b66ff8a8a45dbfbb643f7421c.jpg","text":"TemporaryFile(/tmp/multipartBody5032851610892514012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751508005366,"filename":"image_03072025_03_57_01_8789.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370265477","file0":"1370265416"},"map_files_photo_id_array":[{"photo_id":"1370265477","filename":"file1"},{"photo_id":"1370265416","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370265416":["hashtag1","hashtag2"]},{"1370265477":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370265416, 1370265477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.018542766571045 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:00:03.534278
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/03/59/image_03072025_03_59_01_5609.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/03/59/image_03072025_03_59_01_5609.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/03/59/image_03072025_03_59_01_5609.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370266000"],"photo_id":"1370266000","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/e72f701e640c0517efbb654a93d26f6d.jpg","text":"TemporaryFile(/tmp/multipartBody5654973485520028553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751508064754,"filename":"image_03072025_03_59_01_5609.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370266000"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370266000"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.579848527908325 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:01:03.593178
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/00/image_03072025_04_00_01_9854.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/00/image_03072025_04_00_01_9854.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/00/image_03072025_04_00_01_9854.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370266486"],"photo_id":"1370266486","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/fb85a4cd2c09de57b639790c515d26a6.jpg","text":"TemporaryFile(/tmp/multipartBody8454411215139912146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751508124885,"filename":"image_03072025_04_00_01_9854.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370266486"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370266486"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.006230354309082 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:02:03.397198
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/01/image_03072025_04_01_02_1496.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/01/image_03072025_04_01_02_1496.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/01/image_03072025_04_01_02_1496.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370266789"],"photo_id":"1370266789","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/baf9b7329474fce9a0e800e0c3739f31.jpg","text":"TemporaryFile(/tmp/multipartBody3351439478367029055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751508184656,"filename":"image_03072025_04_01_02_1496.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370266789"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370266789"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.260963201522827 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:03:03.372551
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/02/image_03072025_04_02_01_9045.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/02/image_03072025_04_02_01_9045.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/02/image_03072025_04_02_01_9045.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370267190"],"photo_id":"1370267190","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2cfba73603ef59cbf2aae861ed39f0c8.jpg","text":"TemporaryFile(/tmp/multipartBody6069922445076516331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751508244606,"filename":"image_03072025_04_02_01_9045.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370267190"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370267190"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.68478751182556 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:04:02.715586
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/03/image_03072025_04_03_01_9865.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/03/image_03072025_04_03_01_9865.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/03/image_03072025_04_03_01_9865.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370267962"],"photo_id":"1370267962","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d24ff325b1d6c12781b423b870381055.jpg","text":"TemporaryFile(/tmp/multipartBody5833400996286619022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751508303934,"filename":"image_03072025_04_03_01_9865.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370267962"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370267962"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.72445511817932 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:05:03.612826
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:06:03.228246
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/04/image_03072025_04_04_01_4145.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/04/image_03072025_04_04_01_4145.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/04/image_03072025_04_04_01_4145.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370268225"],"photo_id":"1370268225","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5465d7fb5347b9a5d6a26aeb03cb3b15.jpg","text":"TemporaryFile(/tmp/multipartBody1115288623652282530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751508424437,"filename":"image_03072025_04_04_01_4145.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370268225"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370268225"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.53656530380249 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:07:04.081431
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/06/image_03072025_04_06_01_7988.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/06/image_03072025_04_06_01_7988.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/06/image_03072025_04_06_01_7988.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370268815"],"photo_id":"1370268815","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2bf586fdf86febc6e3c8d3a929bcc372.jpg","text":"TemporaryFile(/tmp/multipartBody3497325667091215123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751508485391,"filename":"image_03072025_04_06_01_7988.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370268815"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370268815"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.285322189331055 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:08:03.376145
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:09:03.185638
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:10:02.700781
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/07/image_03072025_04_07_01_8392.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/07/image_03072025_04_07_01_8392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/07/image_03072025_04_07_01_8392.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370269925"],"photo_id":"1370269925","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/233b9dc298da5ccbb70306bfd866c857.jpg","text":"TemporaryFile(/tmp/multipartBody5781329178926456260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751508663943,"filename":"image_03072025_04_07_01_8392.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370269925"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370269925"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.150546550750732 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:11:03.522926
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:12:03.246523
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:13:03.083279
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/10/image_03072025_04_10_01_5839.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/10/image_03072025_04_10_01_5839.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/10/image_03072025_04_10_01_5839.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370270902"],"photo_id":"1370270902","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/81d60650e7318b70f705a47a42d39d56.jpg","text":"TemporaryFile(/tmp/multipartBody4147638700493061579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751508844335,"filename":"image_03072025_04_10_01_5839.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370270902"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370270902"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.425840854644775 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:14:03.417960
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:15:03.388738
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/13/image_03072025_04_13_01_9570.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/13/image_03072025_04_13_01_9570.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/13/image_03072025_04_13_01_9570.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370271439"],"photo_id":"1370271439","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5b1ba509e55806a564f687cdde2ede67.jpg","text":"TemporaryFile(/tmp/multipartBody3492943459751894329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751508964626,"filename":"image_03072025_04_13_01_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370271439"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370271439"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.50771951675415 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:16:02.798090
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/15/image_03072025_04_15_01_9951.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/15/image_03072025_04_15_01_9951.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/15/image_03072025_04_15_01_9951.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370271665"],"photo_id":"1370271665","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/a0fd5b459b8ec13af490403153910256.jpg","text":"TemporaryFile(/tmp/multipartBody5247258950603325958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751509023985,"filename":"image_03072025_04_15_01_9951.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370271665"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370271665"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.601645946502686 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:17:03.104336
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/16/image_03072025_04_16_01_4849.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/16/image_03072025_04_16_01_4849.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/16/image_03072025_04_16_01_4849.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370271789"],"photo_id":"1370271789","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/458ae397f4277605537acea817733944.jpg","text":"TemporaryFile(/tmp/multipartBody1901219595785310101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751509084312,"filename":"image_03072025_04_16_01_4849.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370271789"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370271789"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.173622846603394 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:18:02.866943
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:19:03.768450
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:20:03.088099
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/17/image_03072025_04_17_01_2591.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/17/image_03072025_04_17_01_2591.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/17/image_03072025_04_17_01_2591.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370272623"],"photo_id":"1370272623","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/9f85d8bee8dc5155117585a3357bd5a5.jpg","text":"TemporaryFile(/tmp/multipartBody7446584332563977681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751509264278,"filename":"image_03072025_04_17_01_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370272623"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370272623"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.320993661880493 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:21:03.950952
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/20/image_03072025_04_20_01_9346.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/20/image_03072025_04_20_01_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/20/image_03072025_04_20_01_9346.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370273184"],"photo_id":"1370273184","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/1eb71d6c9d6df454c58fcbb8c8393eff.jpg","text":"TemporaryFile(/tmp/multipartBody4397727663843368394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751509325195,"filename":"image_03072025_04_20_01_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370273184"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370273184"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.51662015914917 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:22:05.443823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 283, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:23:03.613333
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:24:02.915030
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/23/image_03072025_04_23_01_3265.jpg', 2), ('/home/pi/Desktop/images/03072025/04/21/image_03072025_04_21_01_7740.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/23/image_03072025_04_23_01_3265.jpg', '/home/pi/Desktop/images/03072025/04/21/image_03072025_04_21_01_7740.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/23/image_03072025_04_23_01_3265.jpg
/home/pi/Desktop/images/03072025/04/21/image_03072025_04_21_01_7740.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370274484","1370274585"],"photo_ids_order":["1370274484","1370274585"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f6dbd102b2d96b5bf9c62df2cafc1d4b.jpg","text":"TemporaryFile(/tmp/multipartBody8477057110128643851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751509504639,"filename":"image_03072025_04_23_01_3265.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/38ac000094c7346b0ee7a692b4cdd3ef.jpg","text":"TemporaryFile(/tmp/multipartBody4959446157242007322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751509504639,"filename":"image_03072025_04_21_01_7740.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370274585","file0":"1370274484"},"map_files_photo_id_array":[{"photo_id":"1370274585","filename":"file1"},{"photo_id":"1370274484","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370274484":["hashtag1","hashtag2"]},{"1370274585":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370274484, 1370274585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.843868732452393 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:25:06.418637
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/24/image_03072025_04_24_01_6770.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/24/image_03072025_04_24_01_6770.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/24/image_03072025_04_24_01_6770.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370274791"],"photo_id":"1370274791","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/50450cd40fd8a8305f160ae2fac6aa0a.jpg","text":"TemporaryFile(/tmp/multipartBody4197969321228430109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751509568135,"filename":"image_03072025_04_24_01_6770.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370274791"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370274791"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.584167003631592 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:26:03.845853
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:27:03.778570
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/25/image_03072025_04_25_01_3141.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/25/image_03072025_04_25_01_3141.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/25/image_03072025_04_25_01_3141.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370275921"],"photo_id":"1370275921","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/37ff0ff5b80241287f322715b7c4a4df.jpg","text":"TemporaryFile(/tmp/multipartBody7504719532897353134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751509685020,"filename":"image_03072025_04_25_01_3141.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370275921"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370275921"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.89833664894104 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:28:03.000639
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:29:03.459949
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/27/image_03072025_04_27_01_7493.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/27/image_03072025_04_27_01_7493.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/27/image_03072025_04_27_01_7493.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370276397"],"photo_id":"1370276397","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b380c52fadf538acabfb4373f407ace5.jpg","text":"TemporaryFile(/tmp/multipartBody4675343126947553186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751509804677,"filename":"image_03072025_04_27_01_7493.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370276397"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370276397"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.534255027770996 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:30:03.099895
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/29/image_03072025_04_29_01_5935.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/29/image_03072025_04_29_01_5935.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/29/image_03072025_04_29_01_5935.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370276474"],"photo_id":"1370276474","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/46c6d2686fb62f9c6139edcd2bd1f307.jpg","text":"TemporaryFile(/tmp/multipartBody7667760134670890314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751509864313,"filename":"image_03072025_04_29_01_5935.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370276474"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370276474"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.334958791732788 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:31:04.085481
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/30/image_03072025_04_30_01_6048.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/30/image_03072025_04_30_01_6048.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/30/image_03072025_04_30_01_6048.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370276554"],"photo_id":"1370276554","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2aaf46f70bc125ae9f00e6c307a047ad.jpg","text":"TemporaryFile(/tmp/multipartBody5098129381657866545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751509925342,"filename":"image_03072025_04_30_01_6048.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370276554"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370276554"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.890925407409668 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:32:02.581561
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:33:03.225379
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:34:02.910511
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/33/image_03072025_04_33_01_2173.jpg', 2), ('/home/pi/Desktop/images/03072025/04/31/image_03072025_04_31_01_7389.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/33/image_03072025_04_33_01_2173.jpg', '/home/pi/Desktop/images/03072025/04/31/image_03072025_04_31_01_7389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/33/image_03072025_04_33_01_2173.jpg
/home/pi/Desktop/images/03072025/04/31/image_03072025_04_31_01_7389.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370277369","1370277491"],"photo_ids_order":["1370277369","1370277491"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/c3b549140b4d4108168afe8f41f742e2.jpg","text":"TemporaryFile(/tmp/multipartBody2391891817108404964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751510104597,"filename":"image_03072025_04_33_01_2173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2098bbb5efcf7aa0a9f7d75f3e1e2568.jpg","text":"TemporaryFile(/tmp/multipartBody2172505154468477572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751510104597,"filename":"image_03072025_04_31_01_7389.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370277491","file0":"1370277369"},"map_files_photo_id_array":[{"photo_id":"1370277491","filename":"file1"},{"photo_id":"1370277369","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370277369":["hashtag1","hashtag2"]},{"1370277491":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370277369, 1370277491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.260513305664062 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:35:03.768858
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/34/image_03072025_04_34_01_4046.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/34/image_03072025_04_34_01_4046.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/34/image_03072025_04_34_01_4046.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370277614"],"photo_id":"1370277614","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/6e57f0c77ca2ab38168402e31d4e2d57.jpg","text":"TemporaryFile(/tmp/multipartBody6286921696776580428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751510165022,"filename":"image_03072025_04_34_01_4046.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370277614"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370277614"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.743277072906494 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:36:03.428088
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/35/image_03072025_04_35_01_5674.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/35/image_03072025_04_35_01_5674.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/35/image_03072025_04_35_01_5674.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370277856"],"photo_id":"1370277856","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/963b2daa2b259b5d00e5584b9e220214.jpg","text":"TemporaryFile(/tmp/multipartBody8348898592634122797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751510224601,"filename":"image_03072025_04_35_01_5674.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370277856"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370277856"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.38115167617798 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:37:03.316956
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:38:03.279689
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:39:03.528860
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
1 photos no longer on disk
no photos to upload
time to upload: 0.4556162357330322 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/03072025/04/40/image_03072025_04_40_01_5461.jpg'],)
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/40/image_03072025_04_40_01_5461.jpg', 2)]
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:40:03.220814
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:41:04.038538
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:42:02.644392
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:43:03.568665
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/36/image_03072025_04_36_02_0339.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/36/image_03072025_04_36_02_0339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/36/image_03072025_04_36_02_0339.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370279713"],"photo_id":"1370279713","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/70ab9191d7bd563245cc8692e3e7ea4f.jpg","text":"TemporaryFile(/tmp/multipartBody8071541594020725045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751510644787,"filename":"image_03072025_04_36_02_0339.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370279713"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370279713"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 36.39368963241577 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:44:02.720341
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:45:03.720370
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:46:03.097899
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:47:03.974239
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/43/image_03072025_04_43_01_4243.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/43/image_03072025_04_43_01_4243.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/43/image_03072025_04_43_01_4243.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370280889"],"photo_id":"1370280889","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5b2ac918a5e4ce73434224f627252e61.jpg","text":"TemporaryFile(/tmp/multipartBody3452323473682518835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751510885207,"filename":"image_03072025_04_43_01_4243.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370280889"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370280889"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.05947995185852 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:48:03.146448
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/47/image_03072025_04_47_01_7378.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/47/image_03072025_04_47_01_7378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/47/image_03072025_04_47_01_7378.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1527528762817383 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:49:03.309736
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/48/image_03072025_04_48_02_1090.jpg', 2), ('/home/pi/Desktop/images/03072025/04/47/image_03072025_04_47_01_7378.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/48/image_03072025_04_48_02_1090.jpg', '/home/pi/Desktop/images/03072025/04/47/image_03072025_04_47_01_7378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/48/image_03072025_04_48_02_1090.jpg
/home/pi/Desktop/images/03072025/04/47/image_03072025_04_47_01_7378.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370282186","1370282173"],"photo_ids_order":["1370282173","1370282186"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f1815f2f9e7e6d22395e828379c2f52b.jpg","text":"TemporaryFile(/tmp/multipartBody4554322157451790464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751511005027,"filename":"image_03072025_04_47_01_7378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/401572bb072a4e591307926723c5ef98.jpg","text":"TemporaryFile(/tmp/multipartBody5950082365704528758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751511005027,"filename":"image_03072025_04_48_02_1090.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370282186","file0":"1370282173"},"map_files_photo_id_array":[{"photo_id":"1370282186","filename":"file1"},{"photo_id":"1370282173","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370282186":["hashtag1","hashtag2"]},{"1370282173":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370282186, 1370282173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.038126230239868 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:50:02.653138
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/49/image_03072025_04_49_01_8271.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/49/image_03072025_04_49_01_8271.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/49/image_03072025_04_49_01_8271.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370282351"],"photo_id":"1370282351","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2c2863f6bead126d6d1f8d9e9c1a278c.jpg","text":"TemporaryFile(/tmp/multipartBody6425700732338695355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751511064027,"filename":"image_03072025_04_49_01_8271.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370282351"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370282351"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.379544258117676 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:51:03.602277
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/50/image_03072025_04_50_01_4990.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/50/image_03072025_04_50_01_4990.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/50/image_03072025_04_50_01_4990.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370282778"],"photo_id":"1370282778","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/12a1eee1dc9824a4114e8ea4b3672c38.jpg","text":"TemporaryFile(/tmp/multipartBody7705881638312388495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751511124817,"filename":"image_03072025_04_50_01_4990.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370282778"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370282778"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.880882501602173 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:52:02.840082
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:53:03.637234
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/51/image_03072025_04_51_01_3649.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/51/image_03072025_04_51_01_3649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/51/image_03072025_04_51_01_3649.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370283174"],"photo_id":"1370283174","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ff620a2c831321ae1a5d7f4dcdcc9d33.jpg","text":"TemporaryFile(/tmp/multipartBody6990254561897274091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751511244879,"filename":"image_03072025_04_51_01_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370283174"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370283174"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.558741807937622 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:54:03.231123
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:55:03.187057
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/53/image_03072025_04_53_01_4656.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/53/image_03072025_04_53_01_4656.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/53/image_03072025_04_53_01_4656.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370283952"],"photo_id":"1370283952","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5713941baedb1833d9fd122143f75609.jpg","text":"TemporaryFile(/tmp/multipartBody7647707460539496646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751511364450,"filename":"image_03072025_04_53_01_4656.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370283952"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370283952"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.66471219062805 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:56:03.128568
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/55/image_03072025_04_55_01_7462.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/55/image_03072025_04_55_01_7462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/55/image_03072025_04_55_01_7462.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370284273"],"photo_id":"1370284273","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f4d06050e3ebefb7d58ae802429c1e3d.jpg","text":"TemporaryFile(/tmp/multipartBody2898339683437086510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751511424354,"filename":"image_03072025_04_55_01_7462.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370284273"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370284273"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.864081859588623 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:57:03.427465
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/56/image_03072025_04_56_01_4042.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/56/image_03072025_04_56_01_4042.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/56/image_03072025_04_56_01_4042.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370284949"],"photo_id":"1370284949","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/3190a95ad9007ca202e0613fe587eb7a.jpg","text":"TemporaryFile(/tmp/multipartBody622137973271994596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751511484652,"filename":"image_03072025_04_56_01_4042.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370284949"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370284949"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.672154903411865 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 04:59:03.467161
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:00:02.664747
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:01:03.496466
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/04/57/image_03072025_04_57_01_7298.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/04/57/image_03072025_04_57_01_7298.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/04/57/image_03072025_04_57_01_7298.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370288257"],"photo_id":"1370288257","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/da4e7fa3f2371bd286674f8fc263499f.jpg","text":"TemporaryFile(/tmp/multipartBody8751141305318708734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751511724782,"filename":"image_03072025_04_57_01_7298.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370288257"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370288257"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.972867012023926 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:02:03.111048
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:03:04.144545
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:04:02.743313
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:05:03.309483
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:06:03.235450
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:07:03.075828
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/01/image_03072025_05_01_01_3363.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/01/image_03072025_05_01_01_3363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/01/image_03072025_05_01_01_3363.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370290516"],"photo_id":"1370290516","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/48d5e349d720859c80380739e2a95900.jpg","text":"TemporaryFile(/tmp/multipartBody2981268071402079127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751512084352,"filename":"image_03072025_05_01_01_3363.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370290516"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370290516"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.437193632125854 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:08:02.916325
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:09:03.561033
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:10:03.053073
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:11:03.875545
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/07/image_03072025_05_07_01_8639.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/07/image_03072025_05_07_01_8639.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/07/image_03072025_05_07_01_8639.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370291855"],"photo_id":"1370291855","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7c673e72b56df5725c8dd2631d308d14.jpg","text":"TemporaryFile(/tmp/multipartBody972445689950448024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751512325119,"filename":"image_03072025_05_07_01_8639.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370291855"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370291855"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.484368562698364 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:12:03.223467
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/11/image_03072025_05_11_01_6988.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/11/image_03072025_05_11_01_6988.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/11/image_03072025_05_11_01_6988.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370292097"],"photo_id":"1370292097","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/306aad0bc35df36791652bcbba0f4cf6.jpg","text":"TemporaryFile(/tmp/multipartBody7755285585640515860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751512384425,"filename":"image_03072025_05_11_01_6988.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370292097"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370292097"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.253164291381836 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:13:03.851587
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/12/image_03072025_05_12_02_0762.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/12/image_03072025_05_12_02_0762.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/12/image_03072025_05_12_02_0762.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370292342"],"photo_id":"1370292342","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/64540b008b50351febb98cb52ee749a5.jpg","text":"TemporaryFile(/tmp/multipartBody7557782554179193004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751512445060,"filename":"image_03072025_05_12_02_0762.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370292342"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370292342"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.6630699634552 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:14:03.046889
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/13/image_03072025_05_13_01_8187.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/13/image_03072025_05_13_01_8187.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/13/image_03072025_05_13_01_8187.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370292395"],"photo_id":"1370292395","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/9ad9539e9be0fba9fab0b7b942c915db.jpg","text":"TemporaryFile(/tmp/multipartBody930298216842416030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751512504289,"filename":"image_03072025_05_13_01_8187.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370292395"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370292395"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.612967014312744 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:15:03.211436
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/14/image_03072025_05_14_02_1077.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/14/image_03072025_05_14_02_1077.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/14/image_03072025_05_14_02_1077.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370292465"],"photo_id":"1370292465","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/703c34db41ccfb9a7583fb0c62f7fd4f.jpg","text":"TemporaryFile(/tmp/multipartBody7313523454686921498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751512564448,"filename":"image_03072025_05_14_02_1077.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370292465"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370292465"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.244940519332886 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:16:03.469150
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/15/image_03072025_05_15_01_6881.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/15/image_03072025_05_15_01_6881.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/15/image_03072025_05_15_01_6881.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370292640"],"photo_id":"1370292640","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/4b02a57f02a0c7d1a3b3402413ad50f4.jpg","text":"TemporaryFile(/tmp/multipartBody5653071871822151778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751512624673,"filename":"image_03072025_05_15_01_6881.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370292640"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370292640"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.492704391479492 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:17:03.484868
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/16/image_03072025_05_16_01_2450.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/16/image_03072025_05_16_01_2450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/16/image_03072025_05_16_01_2450.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370292939"],"photo_id":"1370292939","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/bb15db64ca0293c41e86edb976be2572.jpg","text":"TemporaryFile(/tmp/multipartBody1204138276450544390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751512684726,"filename":"image_03072025_05_16_01_2450.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370292939"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370292939"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.9377338886261 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:18:03.931983
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/17/image_03072025_05_17_02_1782.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/17/image_03072025_05_17_02_1782.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/17/image_03072025_05_17_02_1782.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370293087"],"photo_id":"1370293087","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/cfc0e866c0d14adbb0d86eeb164b64c5.jpg","text":"TemporaryFile(/tmp/multipartBody3839479765016610846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751512745151,"filename":"image_03072025_05_17_02_1782.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370293087"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370293087"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.308495044708252 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:19:03.707784
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/18/image_03072025_05_18_01_6652.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/18/image_03072025_05_18_01_6652.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/18/image_03072025_05_18_01_6652.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370293429"],"photo_id":"1370293429","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f6649d5e97b1fc92885e99ace1e70dbd.jpg","text":"TemporaryFile(/tmp/multipartBody8557462396279773392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751512804970,"filename":"image_03072025_05_18_01_6652.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370293429"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370293429"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.341827630996704 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:20:03.501105
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/19/image_03072025_05_19_02_2244.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/19/image_03072025_05_19_02_2244.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/19/image_03072025_05_19_02_2244.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370293749"],"photo_id":"1370293749","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/122278e5dba43e48c2158c16322cdacc.jpg","text":"TemporaryFile(/tmp/multipartBody1041806396863685902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751512864709,"filename":"image_03072025_05_19_02_2244.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370293749"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370293749"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 20.494889736175537 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:21:03.501356
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/20/image_03072025_05_20_01_8803.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/20/image_03072025_05_20_01_8803.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/20/image_03072025_05_20_01_8803.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370294223"],"photo_id":"1370294223","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/308e570c99be3503121832d086e5ab23.jpg","text":"TemporaryFile(/tmp/multipartBody6257194490614909938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751512924767,"filename":"image_03072025_05_20_01_8803.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370294223"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370294223"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.716415882110596 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:22:03.539192
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:23:03.382623
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:24:02.965579
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:25:06.261369
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:26:03.770844
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:27:03.482391
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:28:02.653219
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.211130142211914 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75541d30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:29:03.521868
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.504178047180176 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75524930>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:30:03.590355
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.2376856803894043 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754eadf0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:31:03.314466
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', '/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.0378551483154297 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b9e30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:32:03.317350
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', '/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.2752485275268555 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75527e30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:33:03.455398
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', '/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.1785168647766113 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554ee90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:34:02.718105
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', '/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.3177008628845215 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552adf0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:35:03.576350
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', '/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.3035874366760254 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75567dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:36:03.596304
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', '/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.325361728668213 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550ae90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:37:03.332812
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', '/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.9100055694580078 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a3df0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:38:03.116756
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', '/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.9290549755096436 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7555ddb0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:39:04.140935
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', '/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.147411584854126 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554ae70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:40:03.569440
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', '/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.0414178371429443 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e6e70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:41:04.168137
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', '/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.5651042461395264 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dfed0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:42:02.689828
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg', 2), ('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg', '/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', '/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.2830402851104736 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75570ef0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:43:03.143199
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg', 2), ('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg', '/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', '/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.7929847240447998 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550feb0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:44:03.134290
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg', 2), ('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg', '/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', '/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.3233022689819336 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554beb0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:45:04.174719
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg', 2), ('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg', '/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', '/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.0441415309906006 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75570e50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:46:03.038771
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg', 2), ('/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg', 2), ('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg', '/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg', '/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', '/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg
/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.3117899894714355 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552cf50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:47:04.052616
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg', 2), ('/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg', 2), ('/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg', 2), ('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg', '/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg', '/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg', '/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', '/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg
/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg
/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.9296505451202393 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ace50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:48:02.636128
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg', 2), ('/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg', 2), ('/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg', 2), ('/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg', 2), ('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg', '/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg', '/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg', '/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg', '/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg
/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg
/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg
/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.1464364528656006 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e1e70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:49:03.445038
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg', 2), ('/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg', 2), ('/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg', 2), ('/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg', 2), ('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg', '/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg', '/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg', '/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg', '/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg
/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg
/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg
/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.4219698905944824 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7558bf30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:50:03.125649
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', 2), ('/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg', 2), ('/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg', 2), ('/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg', 2), ('/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg', 2), ('/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', '/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg', '/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg', '/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg', '/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg', '/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg
/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg
/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg
/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg
/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg
/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.9019699096679688 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d5e50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:51:03.937451
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', 2), ('/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', 2), ('/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg', 2), ('/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg', 2), ('/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg', 2), ('/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', '/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', '/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg', '/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg', '/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg', '/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg
/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg
/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg
/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg
/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg
/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.011383056640625 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557bf90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:52:04.244410
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', 2), ('/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', 2), ('/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', 2), ('/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg', 2), ('/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg', 2), ('/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', '/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', '/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', '/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg', '/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg', '/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg
/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg
/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg
/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg
/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg
/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.2713916301727295 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fef30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:53:03.431362
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', 2), ('/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', 2), ('/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', 2), ('/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg', 2), ('/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg', 2), ('/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', '/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', '/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', '/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg', '/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg', '/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg
/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg
/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg
/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg
/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg
/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.7622857093811035 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e9df0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:54:03.075042
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg', 2), ('/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', 2), ('/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', 2), ('/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', 2), ('/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg', 2), ('/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg', '/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', '/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', '/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', '/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg', '/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg
/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg
/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg
/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg
/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg
/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.3623456954956055 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754acdd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:55:04.119346
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg', 2), ('/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', 2), ('/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', 2), ('/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', 2), ('/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg', 2), ('/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg', '/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', '/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', '/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', '/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg', '/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg
/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg
/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg
/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg
/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg
/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.3585052490234375 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75520dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:56:03.487243
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg', 2), ('/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', 2), ('/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', 2), ('/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', 2), ('/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg', 2), ('/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg', '/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', '/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', '/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', '/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg', '/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg
/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg
/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg
/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg
/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg
/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.233258008956909 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75541d90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:57:03.468938
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg', 2), ('/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', 2), ('/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', 2), ('/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', 2), ('/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg', 2), ('/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg', '/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', '/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', '/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', '/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg', '/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg
/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg
/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg
/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg
/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg
/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.352360486984253 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7558ef90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 05:59:04.165721
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg', 2), ('/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg', 2), ('/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', 2), ('/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', 2), ('/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', 2), ('/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg', '/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg', '/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', '/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', '/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', '/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg
/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg
/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg
/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg
/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg
/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 10.693327188491821 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75525e10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:00:03.839687
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg', 2), ('/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg', 2), ('/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg', 2), ('/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', 2), ('/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', 2), ('/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg', '/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg', '/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg', '/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', '/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', '/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg
/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg
/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg
/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg
/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg
/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.6507081985473633 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c8e90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:01:03.907933
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg', 2), ('/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg', 2), ('/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg', 2), ('/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', 2), ('/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', 2), ('/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg', '/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg', '/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg', '/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', '/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', '/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg
/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg
/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg
/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg
/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg
/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.5029945373535156 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75553f70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:02:02.975872
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg', 2), ('/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg', 2), ('/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg', 2), ('/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg', 2), ('/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', 2), ('/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg', '/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg', '/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg', '/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg', '/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', '/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg
/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg
/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg
/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg
/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg
/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.0782649517059326 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75590dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:03:03.985386
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg', 2), ('/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg', 2), ('/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg', 2), ('/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg', 2), ('/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg', 2), ('/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg', '/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg', '/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg', '/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg', '/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg', '/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg
/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg
/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg
/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg
/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg
/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.5096900463104248 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75485e10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:04:03.071148
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg', 2), ('/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg', 2), ('/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg', 2), ('/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg', 2), ('/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg', 2), ('/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg', '/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg', '/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg', '/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg', '/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg', '/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg
/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg
/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg
/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg
/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg
/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.506702423095703 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b0d50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:05:03.829532
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg', 2), ('/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg', 2), ('/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg', 2), ('/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg', 2), ('/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg', 2), ('/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg', '/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg', '/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg', '/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg', '/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg', '/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg
/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg
/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg
/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg
/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg
/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.0294852256774902 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75552f10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:06:03.377099
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', 2), ('/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg', 2), ('/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg', 2), ('/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg', 2), ('/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg', 2), ('/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', '/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg', '/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg', '/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg', '/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg', '/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg
/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg
/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg
/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg
/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg
/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.3592562675476074 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bee70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:07:03.544724
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', 2), ('/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', 2), ('/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg', 2), ('/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg', 2), ('/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg', 2), ('/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', '/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', '/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg', '/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg', '/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg', '/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg
/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg
/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg
/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg
/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg
/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.4431381225585938 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c6e10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:08:05.307617
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', 2), ('/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', 2), ('/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', 2), ('/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg', 2), ('/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg', 2), ('/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', '/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', '/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', '/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg', '/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg', '/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg
/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg
/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg
/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg
/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg
/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.612018346786499 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75546e50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:09:03.642115
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', 2), ('/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', 2), ('/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', 2), ('/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg', 2), ('/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg', 2), ('/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', '/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', '/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', '/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg', '/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg', '/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg
/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg
/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg
/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg
/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg
/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.619464635848999 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556cdb0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:10:03.035385
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', 2), ('/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', 2), ('/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', 2), ('/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg', 2), ('/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg', 2), ('/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', '/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', '/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', '/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg', '/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg', '/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg
/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg
/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg
/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg
/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg
/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.1497673988342285 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b1f10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:11:04.069844
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', 2), ('/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', 2), ('/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', 2), ('/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg', 2), ('/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg', 2), ('/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', '/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', '/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', '/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg', '/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg', '/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg
/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg
/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg
/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg
/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg
/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.5222194194793701 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b1dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:12:03.386543
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg', 2), ('/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', 2), ('/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', 2), ('/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', 2), ('/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg', 2), ('/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg', '/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', '/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', '/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', '/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg', '/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg
/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg
/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg
/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg
/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg
/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.1236732006073 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75481f30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:13:03.376035
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg', 2), ('/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg', 2), ('/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', 2), ('/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', 2), ('/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', 2), ('/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg', '/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg', '/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', '/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', '/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', '/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg
/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg
/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg
/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg
/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg
/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.4136817455291748 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75567df0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:14:02.852500
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg', 2), ('/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg', 2), ('/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', 2), ('/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', 2), ('/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', 2), ('/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg', '/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg', '/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', '/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', '/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', '/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg
/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg
/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg
/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg
/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg
/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.9401640892028809 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75560e30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:15:03.876129
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg', 2), ('/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg', 2), ('/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg', 2), ('/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', 2), ('/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', 2), ('/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg', '/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg', '/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg', '/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', '/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', '/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg
/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg
/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg
/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg
/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg
/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.317931890487671 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dee90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:16:02.589798
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg', 2), ('/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg', 2), ('/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg', 2), ('/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg', 2), ('/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', 2), ('/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg', '/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg', '/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg', '/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg', '/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', '/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg
/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg
/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg
/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg
/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg
/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.3270068168640137 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549fed0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:17:03.273251
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg', 2), ('/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg', 2), ('/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg', 2), ('/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg', 2), ('/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', 2), ('/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg', '/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg', '/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg', '/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg', '/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', '/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg
/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg
/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg
/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg
/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg
/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.1254096031188965 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75558df0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:18:03.240511
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', 2), ('/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg', 2), ('/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg', 2), ('/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg', 2), ('/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg', 2), ('/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', '/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg', '/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg', '/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg', '/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg', '/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg
/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg
/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg
/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg
/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg
/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.4008700847625732 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75526d70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:19:04.149166
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', 2), ('/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', 2), ('/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg', 2), ('/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg', 2), ('/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg', 2), ('/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', '/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', '/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg', '/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg', '/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg', '/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg
/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg
/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg
/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg
/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg
/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.695474863052368 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557af90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:20:03.062095
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', 2), ('/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', 2), ('/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', 2), ('/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg', 2), ('/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg', 2), ('/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', '/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', '/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', '/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg', '/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg', '/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg
/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg
/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg
/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg
/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg
/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.5488789081573486 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75514e90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:21:03.299848
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', 2), ('/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', 2), ('/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', 2), ('/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg', 2), ('/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg', 2), ('/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', '/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', '/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', '/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg', '/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg', '/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg
/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg
/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg
/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg
/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg
/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.7477123737335205 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c2d90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:22:03.608634
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', 2), ('/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg', 2), ('/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', 2), ('/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', 2), ('/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg', 2), ('/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', '/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg', '/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', '/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', '/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg', '/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg
/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg
/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg
/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg
/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg
/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.4814486503601074 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bad90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:23:03.943192
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', 2), ('/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg', 2), ('/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', 2), ('/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', 2), ('/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg', 2), ('/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', '/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg', '/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', '/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', '/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg', '/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg
/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg
/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg
/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg
/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg
/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.2674472332000732 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ebe30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:24:02.832859
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg', 2), ('/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', 2), ('/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg', 2), ('/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', 2), ('/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', 2), ('/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg', '/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', '/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg', '/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', '/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', '/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg
/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg
/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg
/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg
/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg
/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.700852155685425 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75557e50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:25:06.979506
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg', 2), ('/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', 2), ('/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg', 2), ('/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', 2), ('/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', 2), ('/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg', '/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', '/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg', '/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', '/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', '/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg
/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg
/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg
/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg
/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg
/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 7.038231372833252 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75582f30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:26:03.530259
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg', 2), ('/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', 2), ('/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg', 2), ('/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', 2), ('/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', 2), ('/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg', '/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', '/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg', '/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', '/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', '/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg
/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg
/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg
/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg
/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg
/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.2484982013702393 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fc6f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:27:03.376660
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', 2), ('/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg', 2), ('/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', 2), ('/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg', 2), ('/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', 2), ('/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', '/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg', '/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', '/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg', '/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', '/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg
/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg
/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg
/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg
/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg
/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.4376459121704102 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75f9c9f0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:28:02.619571
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', 2), ('/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', 2), ('/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg', 2), ('/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', 2), ('/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg', 2), ('/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', '/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', '/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg', '/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', '/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg', '/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg
/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg
/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg
/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg
/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg
/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.1292078495025635 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75533e30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:29:03.800689
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', 2), ('/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', 2), ('/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg', 2), ('/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', 2), ('/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg', 2), ('/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', '/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', '/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg', '/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', '/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg', '/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg
/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg
/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg
/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg
/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg
/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.9099388122558594 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75556e30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:30:03.548501
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', 2), ('/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', 2), ('/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', 2), ('/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg', 2), ('/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', 2), ('/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', '/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', '/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', '/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg', '/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', '/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg
/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg
/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg
/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg
/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg
/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.524707317352295 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557bdd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:31:03.449440
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', 2), ('/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', 2), ('/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', 2), ('/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', 2), ('/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg', 2), ('/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', '/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', '/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', '/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', '/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg', '/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg
/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg
/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg
/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg
/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg
/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.864600419998169 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75586db0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:32:02.670832
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', 2), ('/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', 2), ('/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', 2), ('/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', 2), ('/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', 2), ('/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', '/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', '/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', '/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', '/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', '/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg
/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg
/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg
/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg
/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg
/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.3244709968566895 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f3ef0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:33:03.852263
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2), ('/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', 2), ('/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', 2), ('/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', 2), ('/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', 2), ('/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', '/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', '/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', '/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', '/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', '/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg
/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg
/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg
/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg
/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.8645296096801758 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75485df0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:34:02.727809
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2), ('/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', 2), ('/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', 2), ('/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', 2), ('/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', 2), ('/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', '/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', '/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', '/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', '/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', '/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg
/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg
/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg
/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg
/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.9933123588562012 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a1e50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:35:03.227164
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2), ('/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', 2), ('/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', 2), ('/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', 2), ('/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', 2), ('/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', '/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', '/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', '/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', '/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', '/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg
/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg
/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg
/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg
/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.6541695594787598 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75fea530>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:36:04.536919
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2), ('/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', 2), ('/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', 2), ('/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', 2), ('/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', 2), ('/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', '/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', '/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', '/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', '/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', '/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg
/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg
/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg
/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg
/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.067758560180664 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fbdf0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:37:03.084561
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2), ('/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', 2), ('/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', 2), ('/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', 2), ('/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', 2), ('/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', '/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', '/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', '/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', '/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', '/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg
/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg
/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg
/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg
/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.0398025512695312 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754cee10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:38:02.773183
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2), ('/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', 2), ('/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', 2), ('/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', 2), ('/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', 2), ('/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', '/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', '/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', '/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', '/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', '/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg
/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg
/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg
/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg
/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.0746562480926514 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75509d90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:39:04.005663
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2), ('/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', 2), ('/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', 2), ('/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', 2), ('/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', 2), ('/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', '/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', '/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', '/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', '/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', '/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg
/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg
/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg
/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg
/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.4827852249145508 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557af10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:40:03.347262
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2), ('/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', 2), ('/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', 2), ('/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', 2), ('/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', 2), ('/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', '/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', '/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', '/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', '/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', '/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg
/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg
/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg
/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg
/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.5866196155548096 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75568dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:41:03.182862
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2), ('/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', 2), ('/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', 2), ('/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', 2), ('/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', 2), ('/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', '/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', '/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', '/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', '/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', '/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg
/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg
/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg
/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg
/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.6324090957641602 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75541df0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:42:02.647529
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', 2), ('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2), ('/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', 2), ('/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', 2), ('/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', 2), ('/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', '/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', '/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', '/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', '/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', '/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg
/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg
/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg
/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.3677492141723633 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75552e70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:43:03.567618
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', 2), ('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2), ('/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', 2), ('/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', 2), ('/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', 2), ('/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', '/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', '/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', '/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', '/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', '/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg
/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg
/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg
/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.5704398155212402 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f3f90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:44:02.953763
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', 2), ('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2), ('/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', 2), ('/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', 2), ('/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', 2), ('/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', '/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', '/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', '/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', '/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', '/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg
/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg
/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg
/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.3451943397521973 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75511f90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:45:03.935531
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', 2), ('/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', 2), ('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2), ('/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', 2), ('/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', 2), ('/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', '/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', '/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', '/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', '/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', '/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg
/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg
/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg
/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.4462816715240479 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75548dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:46:03.413319
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', 2), ('/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', 2), ('/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', 2), ('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2), ('/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', 2), ('/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', '/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', '/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', '/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', '/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', '/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg
/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg
/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg
/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.2108936309814453 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75504db0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:47:03.346363
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', 2), ('/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', 2), ('/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', 2), ('/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', 2), ('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2), ('/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', '/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', '/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', '/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', '/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', '/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg
/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg
/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg
/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.2393872737884521 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75549f70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:48:03.732449
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', 2), ('/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', 2), ('/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', 2), ('/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', 2), ('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2), ('/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', '/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', '/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', '/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', '/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', '/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg
/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg
/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg
/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.456019878387451 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75545d90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:49:03.348105
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', 2), ('/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', 2), ('/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', 2), ('/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', 2), ('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2), ('/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', '/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', '/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', '/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', '/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', '/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg
/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg
/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg
/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.4818816184997559 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75564e10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:50:02.922662
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg', 2), ('/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', 2), ('/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', 2), ('/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', 2), ('/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', 2), ('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg', '/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', '/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', '/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', '/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', '/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg
/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg
/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg
/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg
/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.108935832977295 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551fe10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:51:03.926341
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg', 2), ('/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', 2), ('/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', 2), ('/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', 2), ('/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', 2), ('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg', '/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', '/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', '/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', '/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', '/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg
/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg
/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg
/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg
/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.1469738483428955 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7556aed0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:52:03.140013
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg', 2), ('/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', 2), ('/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', 2), ('/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', 2), ('/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', 2), ('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg', '/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', '/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', '/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', '/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', '/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg
/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg
/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg
/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg
/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.656564235687256 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ebe90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:53:04.048892
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/50/image_03072025_06_50_01_6440.jpg', 2), ('/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg', 2), ('/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', 2), ('/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', 2), ('/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', 2), ('/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/50/image_03072025_06_50_01_6440.jpg', '/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg', '/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', '/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', '/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', '/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/50/image_03072025_06_50_01_6440.jpg
/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg
/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg
/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg
/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg
/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.38905763626098633 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f8f70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:54:02.569654
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg', 2), ('/home/pi/Desktop/images/03072025/06/50/image_03072025_06_50_01_6440.jpg', 2), ('/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg', 2), ('/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', 2), ('/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', 2), ('/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg', '/home/pi/Desktop/images/03072025/06/50/image_03072025_06_50_01_6440.jpg', '/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg', '/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', '/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', '/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg
/home/pi/Desktop/images/03072025/06/50/image_03072025_06_50_01_6440.jpg
/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg
/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg
/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg
/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.311086893081665 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dbdd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:55:03.105302
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg', 2), ('/home/pi/Desktop/images/03072025/06/50/image_03072025_06_50_01_6440.jpg', 2), ('/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg', 2), ('/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', 2), ('/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', 2), ('/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg', '/home/pi/Desktop/images/03072025/06/50/image_03072025_06_50_01_6440.jpg', '/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg', '/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', '/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', '/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg
/home/pi/Desktop/images/03072025/06/50/image_03072025_06_50_01_6440.jpg
/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg
/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg
/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg
/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.575650930404663 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7550be30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:56:03.364510
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', 2), ('/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg', 2), ('/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg', 2), ('/home/pi/Desktop/images/03072025/06/50/image_03072025_06_50_01_6440.jpg', 2), ('/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg', 2), ('/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', '/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg', '/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg', '/home/pi/Desktop/images/03072025/06/50/image_03072025_06_50_01_6440.jpg', '/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg', '/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg
/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg
/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg
/home/pi/Desktop/images/03072025/06/50/image_03072025_06_50_01_6440.jpg
/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg
/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.6800360679626465 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a2e50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:57:03.280789
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', 2), ('/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', 2), ('/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg', 2), ('/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg', 2), ('/home/pi/Desktop/images/03072025/06/50/image_03072025_06_50_01_6440.jpg', 2), ('/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', '/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', '/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg', '/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg', '/home/pi/Desktop/images/03072025/06/50/image_03072025_06_50_01_6440.jpg', '/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg
/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg
/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg
/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg
/home/pi/Desktop/images/03072025/06/50/image_03072025_06_50_01_6440.jpg
/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.28410935401916504 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75494f30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 06:59:04.386235
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2), ('/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', 2), ('/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', 2), ('/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', 2), ('/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg', 2), ('/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', '/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', '/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', '/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', '/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg', '/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg
/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg
/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg
/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg
/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 19.76562786102295 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75511df0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:00:05.094121
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2), ('/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', 2), ('/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', 2), ('/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', 2), ('/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg', 2), ('/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', '/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', '/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', '/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', '/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg', '/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg
/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg
/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg
/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg
/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.838074207305908 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75572dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:01:03.255755
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2), ('/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', 2), ('/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', 2), ('/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', 2), ('/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg', 2), ('/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', '/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', '/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', '/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', '/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg', '/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg
/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg
/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg
/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg
/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.278782844543457 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75535d70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:02:03.591293
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2), ('/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', 2), ('/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', 2), ('/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', 2), ('/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg', 2), ('/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', '/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', '/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', '/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', '/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg', '/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg
/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg
/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg
/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg
/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.946337938308716 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557ef90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:03:03.513564
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', 2), ('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2), ('/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', 2), ('/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', 2), ('/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', 2), ('/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', '/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', '/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', '/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', '/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', '/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg
/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg
/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg
/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.8552896976470947 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553bdd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:04:03.065931
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', 2), ('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2), ('/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', 2), ('/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', 2), ('/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', 2), ('/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', '/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', '/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', '/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', '/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', '/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg
/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg
/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg
/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.593825101852417 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75502dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:05:04.184890
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', 2), ('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2), ('/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', 2), ('/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', 2), ('/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', 2), ('/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', '/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', '/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', '/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', '/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', '/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg
/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg
/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg
/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.6076071262359619 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75565f50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:06:03.601143
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', 2), ('/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', 2), ('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2), ('/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', 2), ('/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', 2), ('/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', '/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', '/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', '/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', '/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', '/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg
/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg
/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg
/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.1802177429199219 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c9eb0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:07:03.394568
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', 2), ('/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', 2), ('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2), ('/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', 2), ('/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', 2), ('/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', '/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', '/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', '/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', '/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', '/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg
/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg
/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg
/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.5480332374572754 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7548edf0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:08:02.959334
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', 2), ('/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', 2), ('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2), ('/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', 2), ('/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', 2), ('/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', '/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', '/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', '/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', '/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', '/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg
/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg
/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg
/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.0659284591674805 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75538d70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:09:03.713805
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/10/image_03072025_07_10_01_9925.jpg', 2), ('/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', 2), ('/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', 2), ('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2), ('/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', 2), ('/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', '/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', '/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', '/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', '/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg
/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg
/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.8917958736419678 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/03072025/07/10/image_03072025_07_10_01_9925.jpg'],)
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75438190>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:10:02.640195
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', 2), ('/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', 2), ('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2), ('/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', 2), ('/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', 2), ('/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', '/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', '/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', '/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', '/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', '/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg
/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg
/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg
/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.629261016845703 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d9e10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:11:03.768347
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', 2), ('/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', 2), ('/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', 2), ('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2), ('/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', 2), ('/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', '/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', '/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', '/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', '/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', '/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg
/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg
/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg
/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.422851324081421 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75586ef0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:12:03.209938
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', 2), ('/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', 2), ('/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', 2), ('/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', 2), ('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2), ('/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', '/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', '/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', '/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', '/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', '/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg
/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg
/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg
/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.2657783031463623 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75556e10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:13:03.258970
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', 2), ('/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', 2), ('/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', 2), ('/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', 2), ('/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', 2), ('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', '/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', '/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', '/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', '/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', '/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg
/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg
/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg
/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg
/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.4571948051452637 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75588e70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:14:02.574511
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', 2), ('/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', 2), ('/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', 2), ('/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', 2), ('/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', 2), ('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', '/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', '/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', '/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', '/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', '/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg
/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg
/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg
/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg
/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.304126739501953 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549bdd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:15:03.480272
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', 2), ('/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', 2), ('/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', 2), ('/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', 2), ('/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', 2), ('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', '/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', '/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', '/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', '/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', '/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg
/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg
/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg
/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg
/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.8790085315704346 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e4f50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:16:03.246976
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', 2), ('/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', 2), ('/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', 2), ('/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', 2), ('/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', 2), ('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', '/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', '/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', '/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', '/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', '/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg
/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg
/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg
/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg
/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.076531171798706 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754adef0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:17:03.833042
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', 2), ('/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', 2), ('/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', 2), ('/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', 2), ('/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', 2), ('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', '/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', '/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', '/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', '/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', '/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg
/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg
/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg
/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg
/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.8109071254730225 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75562f50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:18:03.365748
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', 2), ('/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', 2), ('/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', 2), ('/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', 2), ('/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', 2), ('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', '/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', '/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', '/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', '/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', '/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg
/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg
/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg
/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg
/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.961956262588501 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553cd50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:19:03.230013
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', 2), ('/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', 2), ('/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', 2), ('/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', 2), ('/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', 2), ('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', '/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', '/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', '/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', '/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', '/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg
/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg
/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg
/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg
/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.5785503387451172 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dbe70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:20:03.483675
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', 2), ('/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', 2), ('/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', 2), ('/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', 2), ('/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', 2), ('/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', '/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', '/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', '/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', '/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', '/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg
/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg
/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg
/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg
/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg
/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.2469680309295654 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75540e10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:21:03.252515
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', 2), ('/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', 2), ('/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', 2), ('/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', 2), ('/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', 2), ('/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', '/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', '/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', '/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', '/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', '/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg
/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg
/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg
/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg
/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg
/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.7213001251220703 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75488dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:22:02.944278
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', 2), ('/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', 2), ('/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', 2), ('/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', 2), ('/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', 2), ('/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', '/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', '/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', '/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', '/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', '/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg
/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg
/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg
/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg
/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg
/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.190486431121826 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754eef70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:23:03.932244
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', 2), ('/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', 2), ('/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', 2), ('/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', 2), ('/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', 2), ('/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', '/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', '/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', '/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', '/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', '/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg
/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg
/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg
/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg
/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg
/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.6897938251495361 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f3f50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:24:03.746538
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', 2), ('/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', 2), ('/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', 2), ('/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', 2), ('/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', 2), ('/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', '/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', '/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', '/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', '/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', '/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg
/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg
/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg
/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg
/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg
/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.552549123764038 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b8d90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:25:06.496685
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', 2), ('/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', 2), ('/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', 2), ('/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', 2), ('/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', 2), ('/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', '/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', '/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', '/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', '/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', '/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg
/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg
/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg
/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg
/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg
/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 4.566289901733398 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7552be10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:26:02.956667
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', 2), ('/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', 2), ('/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', 2), ('/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', 2), ('/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', 2), ('/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', '/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', '/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', '/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', '/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', '/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg
/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg
/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg
/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg
/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg
/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.7069289684295654 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c3e30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:27:04.013861
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', 2), ('/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', 2), ('/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', 2), ('/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', 2), ('/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', 2), ('/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', '/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', '/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', '/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', '/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', '/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg
/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg
/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg
/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg
/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg
/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.7319896221160889 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b1d70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:28:03.557034
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2), ('/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', 2), ('/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', 2), ('/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', 2), ('/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', 2), ('/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', '/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', '/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', '/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', '/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', '/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg
/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg
/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg
/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg
/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.7927243709564209 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754cfe90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:29:03.590766
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2), ('/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', 2), ('/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', 2), ('/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', 2), ('/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', 2), ('/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', '/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', '/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', '/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', '/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', '/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg
/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg
/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg
/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg
/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.91878342628479 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75586e10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:30:03.108516
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2), ('/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', 2), ('/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', 2), ('/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', 2), ('/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', 2), ('/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', '/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', '/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', '/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', '/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', '/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg
/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg
/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg
/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg
/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.4039335250854492 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c8e10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:31:03.726227
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2), ('/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', 2), ('/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', 2), ('/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', 2), ('/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', 2), ('/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', '/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', '/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', '/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', '/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', '/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg
/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg
/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg
/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg
/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.9223842620849609 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75514dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:32:03.339472
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', 2), ('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2), ('/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', 2), ('/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', 2), ('/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', 2), ('/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', '/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', '/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', '/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', '/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', '/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg
/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg
/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg
/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.1762003898620605 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75560f10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:33:04.017357
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2), ('/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', 2), ('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2), ('/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', 2), ('/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', 2), ('/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', '/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', '/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', '/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', '/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', '/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg
/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg
/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.9800899028778076 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754aedb0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:34:02.583277
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2), ('/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', 2), ('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2), ('/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', 2), ('/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', '/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', '/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', '/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', '/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg
/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.576016902923584 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e4df0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:35:03.270738
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2), ('/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', 2), ('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2), ('/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', 2), ('/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', '/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', '/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', '/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', '/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg
/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.9701488018035889 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75503d90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:36:03.008628
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2), ('/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', 2), ('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', '/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', '/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.2346014976501465 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7553af10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:37:03.069344
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2), ('/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', 2), ('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', '/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', '/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.375558853149414 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75548e30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:38:02.948986
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2), ('/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', 2), ('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', '/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', '/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.4594266414642334 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75544e70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:39:03.876752
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2), ('/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', 2), ('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', '/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', '/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.653689384460449 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75535dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:40:03.036075
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2), ('/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', 2), ('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', '/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', '/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.975229024887085 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75502df0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:41:03.348827
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2), ('/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', 2), ('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', '/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', '/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.663926601409912 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75583e10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:42:03.294406
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2), ('/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', 2), ('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', '/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', '/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.8804805278778076 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75526d70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:43:03.533051
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2), ('/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', 2), ('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', '/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', '/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.8431587219238281 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557bf10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:44:03.352921
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2), ('/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', 2), ('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', '/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', '/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.1859779357910156 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f6f50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:45:03.294566
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2), ('/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', 2), ('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', '/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', '/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.2049975395202637 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75507e30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:46:03.278641
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2), ('/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', 2), ('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', '/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', '/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.476914405822754 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d1f50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:47:03.770984
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2), ('/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', 2), ('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', '/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', '/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.1182043552398682 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a8dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:48:03.234023
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', 2), ('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2), ('/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', '/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', '/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.817598819732666 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75525f50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:49:04.135730
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2), ('/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', 2), ('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', '/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', '/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.0777549743652344 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554ce50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:50:03.339015
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2), ('/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', 2), ('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', '/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', '/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.0379526615142822 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b3df0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:51:03.085892
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2), ('/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', 2), ('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', '/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', '/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.4114699363708496 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554dd70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:52:03.011446
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2), ('/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', 2), ('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', '/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', '/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.1283934116363525 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e4dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:53:03.347792
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2), ('/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', 2), ('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', '/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', '/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.074610710144043 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75579db0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:54:02.911169
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2), ('/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', 2), ('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', '/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', '/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.5126161575317383 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75575e30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:55:03.986956
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2), ('/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', 2), ('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', '/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', '/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.5993330478668213 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557bdf0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:56:03.482661
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2), ('/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', 2), ('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', '/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', '/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.2052795886993408 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754eed70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:57:03.276348
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2), ('/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', 2), ('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', '/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', '/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.5542447566986084 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d0f10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 07:59:03.292559
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/00/image_03072025_08_00_01_6930.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2), ('/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', '/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.2220215797424316 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/03072025/08/00/image_03072025_08_00_01_6930.jpg'],)
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7536e190>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:00:02.668591
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2), ('/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', 2), ('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', '/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', '/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.888047218322754 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b5eb0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:01:03.235503
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2), ('/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', '/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', '/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.3641693592071533 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7549ee10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:02:02.875427
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', '/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.5644996166229248 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75563e10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:03:03.992599
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', '/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.6890082359313965 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75488e10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:04:03.463789
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', '/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.4203832149505615 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75583d90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:05:03.854222
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', '/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.6722941398620605 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75480e10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:06:03.212799
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', '/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.6368498802185059 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754aae90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:07:03.659138
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', '/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.1114795207977295 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754ebdd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:08:03.102112
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', '/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.070040225982666 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754cbe10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:09:03.366407
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', '/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.647057294845581 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75513e50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:10:02.842745
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', '/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.533644437789917 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75519ed0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:11:03.960969
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', '/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.2970678806304932 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b0dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:12:02.679131
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', '/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.5622432231903076 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75499db0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:13:03.399998
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', '/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.1729650497436523 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75555f30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:14:03.163693
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', '/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.4634768962860107 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557fd90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:15:03.948637
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', '/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.1945457458496094 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75508e10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:16:02.972832
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', '/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.289438486099243 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75529e10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:17:03.965274
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg', 2), ('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg', '/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', '/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.1397614479064941 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bce10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:18:03.371518
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg', 2), ('/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg', 2), ('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg', '/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg', '/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', '/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg
/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.095543622970581 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75505fd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:19:03.868624
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg', 2), ('/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg', 2), ('/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg', 2), ('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg', '/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg', '/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg', '/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', '/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg
/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg
/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.5205533504486084 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75527e30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:20:02.693764
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg', 2), ('/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg', 2), ('/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg', 2), ('/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg', 2), ('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg', '/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg', '/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg', '/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg', '/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg
/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg
/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg
/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.336674690246582 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75583db0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:21:03.273141
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg', 2), ('/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg', 2), ('/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg', 2), ('/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg', 2), ('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg', '/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg', '/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg', '/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg', '/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg
/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg
/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg
/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.5193045139312744 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754d9dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:22:02.894881
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg', 2), ('/home/pi/Desktop/images/03072025/08/20/image_03072025_08_20_02_2041.jpg', 2), ('/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg', 2), ('/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg', 2), ('/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg', 2), ('/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg', '/home/pi/Desktop/images/03072025/08/20/image_03072025_08_20_02_2041.jpg', '/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg', '/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg', '/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg', '/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg
/home/pi/Desktop/images/03072025/08/20/image_03072025_08_20_02_2041.jpg
/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg
/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg
/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg
/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.1805846691131592 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75534e70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:23:03.690486
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg', 2), ('/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg', 2), ('/home/pi/Desktop/images/03072025/08/20/image_03072025_08_20_02_2041.jpg', 2), ('/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg', 2), ('/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg', 2), ('/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg', '/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg', '/home/pi/Desktop/images/03072025/08/20/image_03072025_08_20_02_2041.jpg', '/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg', '/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg', '/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg
/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg
/home/pi/Desktop/images/03072025/08/20/image_03072025_08_20_02_2041.jpg
/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg
/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg
/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.866969108581543 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75574ef0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:24:03.465880
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg', 2), ('/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg', 2), ('/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg', 2), ('/home/pi/Desktop/images/03072025/08/20/image_03072025_08_20_02_2041.jpg', 2), ('/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg', 2), ('/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg', '/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg', '/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg', '/home/pi/Desktop/images/03072025/08/20/image_03072025_08_20_02_2041.jpg', '/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg', '/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg
/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg
/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg
/home/pi/Desktop/images/03072025/08/20/image_03072025_08_20_02_2041.jpg
/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg
/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.693174362182617 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7558ee70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:25:06.802463
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg', 2), ('/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg', 2), ('/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg', 2), ('/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg', 2), ('/home/pi/Desktop/images/03072025/08/20/image_03072025_08_20_02_2041.jpg', 2), ('/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg', '/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg', '/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg', '/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg', '/home/pi/Desktop/images/03072025/08/20/image_03072025_08_20_02_2041.jpg', '/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg
/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg
/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg
/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg
/home/pi/Desktop/images/03072025/08/20/image_03072025_08_20_02_2041.jpg
/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 6.960074186325073 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75526e10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:26:03.494006
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg', 2), ('/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg', 2), ('/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg', 2), ('/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg', 2), ('/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg', 2), ('/home/pi/Desktop/images/03072025/08/20/image_03072025_08_20_02_2041.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg', '/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg', '/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg', '/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg', '/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg', '/home/pi/Desktop/images/03072025/08/20/image_03072025_08_20_02_2041.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg
/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg
/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg
/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg
/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg
/home/pi/Desktop/images/03072025/08/20/image_03072025_08_20_02_2041.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 4.57293438911438 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7558ee70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:27:03.047826
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg', 2), ('/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg', 2), ('/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg', 2), ('/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg', 2), ('/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg', 2), ('/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg', '/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg', '/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg', '/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg', '/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg', '/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg
/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg
/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg
/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg
/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg
/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.6782810688018799 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754e7e10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:28:02.812619
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg', 2), ('/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg', 2), ('/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg', 2), ('/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg', 2), ('/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg', 2), ('/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg', '/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg', '/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg', '/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg', '/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg', '/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg
/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg
/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg
/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg
/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg
/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.314305305480957 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fdd50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:29:03.688175
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg', 2), ('/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg', 2), ('/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg', 2), ('/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg', 2), ('/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg', 2), ('/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg', '/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg', '/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg', '/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg', '/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg', '/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg
/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg
/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg
/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg
/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg
/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.1224324703216553 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554dd90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:30:03.359871
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg', 2), ('/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg', 2), ('/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg', 2), ('/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg', 2), ('/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg', 2), ('/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg', '/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg', '/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg', '/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg', '/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg', '/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg
/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg
/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg
/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg
/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg
/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.6919050216674805 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fdd90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:31:03.023279
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg', 2), ('/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg', 2), ('/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg', 2), ('/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg', 2), ('/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg', 2), ('/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg', '/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg', '/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg', '/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg', '/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg', '/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg
/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg
/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg
/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg
/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg
/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.5902664661407471 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fedd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:32:03.575718
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg', 2), ('/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg', 2), ('/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg', 2), ('/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg', 2), ('/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg', 2), ('/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg', '/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg', '/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg', '/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg', '/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg', '/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg
/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg
/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg
/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg
/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg
/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.35958075523376465 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75566dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:33:03.200583
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg', 2), ('/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg', 2), ('/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg', 2), ('/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg', 2), ('/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg', 2), ('/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg', '/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg', '/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg', '/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg', '/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg', '/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg
/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg
/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg
/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg
/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg
/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.2969520092010498 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75533dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:34:03.155924
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg', 2), ('/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg', 2), ('/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg', 2), ('/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg', 2), ('/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg', 2), ('/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg', '/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg', '/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg', '/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg', '/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg', '/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg
/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg
/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg
/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg
/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg
/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.9447152614593506 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551be10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:35:03.751412
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg', 2), ('/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg', 2), ('/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg', 2), ('/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg', 2), ('/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg', 2), ('/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg', '/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg', '/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg', '/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg', '/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg', '/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg
/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg
/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg
/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg
/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg
/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.9894313812255859 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75580d10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:36:03.333363
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg', 2), ('/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg', 2), ('/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg', 2), ('/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg', 2), ('/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg', 2), ('/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg', '/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg', '/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg', '/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg', '/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg', '/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg
/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg
/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg
/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg
/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg
/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.5706722736358643 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f6ef0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:37:03.216780
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg', 2), ('/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg', 2), ('/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg', 2), ('/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg', 2), ('/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg', 2), ('/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg', '/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg', '/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg', '/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg', '/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg', '/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg
/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg
/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg
/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg
/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg
/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.849116563796997 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75549f10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:38:03.101437
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg', 2), ('/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg', 2), ('/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg', 2), ('/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg', 2), ('/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg', 2), ('/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg', '/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg', '/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg', '/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg', '/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg', '/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg
/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg
/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg
/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg
/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg
/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.2458677291870117 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b4df0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:39:03.128205
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg', 2), ('/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg', 2), ('/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg', 2), ('/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg', 2), ('/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg', 2), ('/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg', '/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg', '/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg', '/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg', '/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg', '/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg
/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg
/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg
/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg
/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg
/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.3812601566314697 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754beed0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:40:03.350623
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg', 2), ('/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg', 2), ('/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg', 2), ('/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg', 2), ('/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg', 2), ('/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg', '/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg', '/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg', '/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg', '/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg', '/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg
/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg
/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg
/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg
/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg
/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.241180419921875 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75587dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:41:03.141037
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg', 2), ('/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg', 2), ('/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg', 2), ('/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg', 2), ('/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg', 2), ('/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg', '/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg', '/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg', '/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg', '/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg', '/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg
/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg
/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg
/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg
/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg
/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.2911462783813477 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754fef50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:42:04.978250
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg', 2), ('/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg', 2), ('/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg', 2), ('/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg', 2), ('/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg', 2), ('/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg', '/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg', '/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg', '/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg', '/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg', '/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg
/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg
/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg
/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg
/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg
/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.7387545108795166 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7557ef10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:43:03.919273
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg', 2), ('/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg', 2), ('/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg', 2), ('/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg', 2), ('/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg', 2), ('/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg', '/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg', '/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg', '/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg', '/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg', '/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg
/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg
/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg
/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg
/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg
/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.9208636283874512 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f3d70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:44:03.386020
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg', 2), ('/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg', 2), ('/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg', 2), ('/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg', 2), ('/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg', 2), ('/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg', '/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg', '/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg', '/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg', '/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg', '/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg
/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg
/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg
/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg
/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg
/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.8544507026672363 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75520dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:45:03.319263
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg', 2), ('/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg', 2), ('/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg', 2), ('/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg', 2), ('/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg', 2), ('/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg', '/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg', '/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg', '/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg', '/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg', '/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg
/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg
/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg
/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg
/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg
/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.8818936347961426 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75585e30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:46:02.651070
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg', 2), ('/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg', 2), ('/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg', 2), ('/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg', 2), ('/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg', 2), ('/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg', '/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg', '/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg', '/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg', '/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg', '/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg
/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg
/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg
/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg
/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg
/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.51289701461792 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75557f50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:47:04.349023
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg', 2), ('/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg', 2), ('/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg', 2), ('/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg', 2), ('/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg', 2), ('/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg', '/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg', '/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg', '/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg', '/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg', '/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg
/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg
/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg
/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg
/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg
/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.1383354663848877 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75587d90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:48:02.954589
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', 2), ('/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg', 2), ('/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg', 2), ('/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg', 2), ('/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg', 2), ('/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', '/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg', '/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg', '/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg', '/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg', '/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg
/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg
/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg
/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg
/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg
/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.6549019813537598 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754eedf0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:49:03.817965
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/50/image_03072025_08_50_01_9747.jpg', 2), ('/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', 2), ('/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', 2), ('/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg', 2), ('/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg', 2), ('/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', '/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', '/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg', '/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg', '/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg
/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg
/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg
/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg
/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.8716919422149658 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/03072025/08/50/image_03072025_08_50_01_9747.jpg'],)
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75415110>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:50:02.695638
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', 2), ('/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', 2), ('/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg', 2), ('/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg', 2), ('/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg', 2), ('/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', '/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', '/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg', '/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg', '/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg', '/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg
/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg
/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg
/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg
/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg
/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.1580581665039062 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75504d70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:51:03.582092
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg', 2), ('/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', 2), ('/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', 2), ('/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg', 2), ('/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg', 2), ('/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg', '/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', '/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', '/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg', '/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg', '/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg
/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg
/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg
/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg
/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg
/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.3523786067962646 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75562eb0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:52:04.522435
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg', 2), ('/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg', 2), ('/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', 2), ('/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', 2), ('/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg', 2), ('/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg', '/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg', '/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', '/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', '/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg', '/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg
/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg
/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg
/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg
/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg
/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.8544704914093018 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75533e70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:53:03.529714
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg', 2), ('/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg', 2), ('/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg', 2), ('/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', 2), ('/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', 2), ('/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg', '/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg', '/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg', '/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', '/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', '/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg
/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg
/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg
/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg
/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg
/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.8089027404785156 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75509df0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:54:02.978599
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg', 2), ('/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg', 2), ('/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg', 2), ('/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', 2), ('/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', 2), ('/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg', '/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg', '/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg', '/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', '/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', '/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg
/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg
/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg
/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg
/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg
/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.7010409832000732 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754f2dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:55:04.135315
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg', 2), ('/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg', 2), ('/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg', 2), ('/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', 2), ('/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', 2), ('/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg', '/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg', '/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg', '/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', '/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', '/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg
/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg
/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg
/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg
/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg
/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.3564929962158203 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754b4e90>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:56:02.664938
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg', 2), ('/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg', 2), ('/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg', 2), ('/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', 2), ('/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', 2), ('/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg', '/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg', '/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg', '/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', '/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', '/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg
/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg
/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg
/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg
/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg
/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.1257834434509277 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754a5dd0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:57:03.318511
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg', 2), ('/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg', 2), ('/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg', 2), ('/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', 2), ('/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', 2), ('/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg', '/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg', '/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg', '/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', '/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', '/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg
/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg
/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg
/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg
/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg
/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.6331937313079834 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75f97730>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 08:59:03.948653
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg', 2), ('/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg', 2), ('/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg', 2), ('/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg', 2), ('/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg', 2), ('/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg', '/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg', '/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg', '/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg', '/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg', '/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg
/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg
/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg
/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg
/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg
/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.6884670257568359 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754c2df0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:00:03.445788
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg', 2), ('/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg', 2), ('/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg', 2), ('/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg', 2), ('/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg', 2), ('/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg', '/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg', '/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg', '/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg', '/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg', '/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg
/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg
/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg
/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg
/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg
/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.512587547302246 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7554fdf0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:01:03.976392
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg', 2), ('/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg', 2), ('/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg', 2), ('/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg', 2), ('/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg', 2), ('/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg', '/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg', '/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg', '/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg', '/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg', '/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg
/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg
/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg
/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg
/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg
/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.584397315979004 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75543df0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:02:03.280663
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg', 2), ('/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg', 2), ('/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg', 2), ('/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg', 2), ('/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg', 2), ('/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg', '/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg', '/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg', '/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg', '/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg', '/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg
/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg
/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg
/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg
/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg
/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.0826666355133057 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75576f30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:03:03.175019
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg', 2), ('/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg', 2), ('/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg', 2), ('/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg', 2), ('/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg', 2), ('/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg', '/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg', '/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg', '/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg', '/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg', '/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg
/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg
/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg
/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg
/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg
/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.3888664245605469 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75518e70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:04:03.907623
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg', 2), ('/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg', 2), ('/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg', 2), ('/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg', 2), ('/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg', 2), ('/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg', '/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg', '/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg', '/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg', '/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg', '/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg
/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg
/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg
/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg
/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg
/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 3.3786401748657227 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754bce10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:05:03.403132
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg', 2), ('/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg', 2), ('/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg', 2), ('/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg', 2), ('/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg', 2), ('/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg', '/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg', '/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg', '/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg', '/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg', '/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg
/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg
/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg
/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg
/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg
/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.3244049549102783 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7551bdf0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:06:03.106382
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg', 2), ('/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg', 2), ('/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg', 2), ('/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg', 2), ('/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg', 2), ('/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg', '/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg', '/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg', '/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg', '/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg', '/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg
/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg
/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg
/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg
/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg
/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.864750862121582 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75494e70>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:07:03.130220
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg', 2), ('/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg', 2), ('/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg', 2), ('/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg', 2), ('/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg', 2), ('/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg', '/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg', '/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg', '/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg', '/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg', '/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg
/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg
/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg
/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg
/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg
/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 2.0811662673950195 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x754dee30>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:08:04.882858
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg', 2), ('/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg', 2), ('/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg', 2), ('/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg', 2), ('/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg', 2), ('/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg', '/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg', '/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg', '/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg', '/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg', '/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg
/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg
/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg
/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg
/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg
/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.4523582458496094 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75535f50>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:09:03.549970
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg', 2), ('/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg', 2), ('/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg', 2), ('/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg', 2), ('/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg', 2), ('/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg', '/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg', '/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg', '/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg', '/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg', '/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg
/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg
/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg
/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg
/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg
/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 0.9459247589111328 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75491e10>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:10:03.212730
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg', 2), ('/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg', 2), ('/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg', 2), ('/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg', 2), ('/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg', 2), ('/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg', '/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg', '/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg', '/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg', '/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg', '/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg
/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg
/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg
/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg
/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg
/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg
after data_to_send, before sending request
cannot unpack non-iterable int object
time to upload: 1.3654286861419678 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75566db0>: Failed to establish a new connection: [Errno 113] No route to host'))
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:11:04.006596
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg', 2), ('/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg', 2), ('/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg', 2), ('/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg', 2), ('/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg', 2), ('/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg', '/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg', '/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg', '/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg', '/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg', '/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg
/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg
/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg
/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg
/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg
/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9273650646209717 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:12:04.534076
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg', 2), ('/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg', 2), ('/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg', 2), ('/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg', 2), ('/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg', 2), ('/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg', '/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg', '/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg', '/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg', '/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg', '/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg
/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg
/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg
/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg
/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg
/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.882349729537964 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:13:03.304333
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', 2), ('/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg', 2), ('/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg', 2), ('/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg', 2), ('/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg', 2), ('/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', '/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg', '/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg', '/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg', '/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg', '/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg
/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg
/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg
/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg
/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg
/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.034214735031128 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:14:02.692314
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg', 2), ('/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', 2), ('/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg', 2), ('/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg', 2), ('/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg', 2), ('/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg', '/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', '/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg', '/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg', '/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg', '/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg
/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg
/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg
/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg
/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg
/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.71893572807312 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:15:04.740088
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg', 2), ('/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', 2), ('/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg', 2), ('/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg', 2), ('/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg', 2), ('/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg', '/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', '/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg', '/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg', '/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg', '/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg
/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg
/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg
/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg
/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg
/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.193726062774658 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:16:03.067655
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg', 2), ('/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg', 2), ('/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', 2), ('/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg', 2), ('/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg', 2), ('/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg', '/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg', '/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', '/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg', '/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg', '/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg
/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg
/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg
/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg
/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg
/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7503371238708496 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:17:03.949736
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg', 2), ('/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg', 2), ('/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', 2), ('/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg', 2), ('/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg', 2), ('/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg', '/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg', '/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', '/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg', '/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg', '/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg
/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg
/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg
/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg
/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg
/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9088404178619385 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:18:03.280168
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg', 2), ('/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg', 2), ('/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', 2), ('/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg', 2), ('/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg', 2), ('/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg', '/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg', '/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', '/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg', '/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg', '/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg
/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg
/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg
/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg
/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg
/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.905905246734619 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:19:03.715782
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/16/image_03072025_09_16_01_3588.jpg', 2), ('/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg', 2), ('/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg', 2), ('/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', 2), ('/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg', 2), ('/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/16/image_03072025_09_16_01_3588.jpg', '/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg', '/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg', '/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', '/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg', '/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/16/image_03072025_09_16_01_3588.jpg
/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg
/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg
/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg
/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg
/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.080113410949707 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:20:03.336418
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/19/image_03072025_09_19_01_9030.jpg', 2), ('/home/pi/Desktop/images/03072025/09/16/image_03072025_09_16_01_3588.jpg', 2), ('/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg', 2), ('/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg', 2), ('/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', 2), ('/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/19/image_03072025_09_19_01_9030.jpg', '/home/pi/Desktop/images/03072025/09/16/image_03072025_09_16_01_3588.jpg', '/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg', '/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg', '/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', '/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/19/image_03072025_09_19_01_9030.jpg
/home/pi/Desktop/images/03072025/09/16/image_03072025_09_16_01_3588.jpg
/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg
/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg
/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg
/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.400822639465332 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:21:03.602288
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/19/image_03072025_09_19_01_9030.jpg', 2), ('/home/pi/Desktop/images/03072025/09/16/image_03072025_09_16_01_3588.jpg', 2), ('/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg', 2), ('/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg', 2), ('/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', 2), ('/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/19/image_03072025_09_19_01_9030.jpg', '/home/pi/Desktop/images/03072025/09/16/image_03072025_09_16_01_3588.jpg', '/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg', '/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg', '/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', '/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/19/image_03072025_09_19_01_9030.jpg
/home/pi/Desktop/images/03072025/09/16/image_03072025_09_16_01_3588.jpg
/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg
/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg
/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg
/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.928281307220459 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:22:03.455773
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/20/image_03072025_09_20_01_8573.jpg', 2), ('/home/pi/Desktop/images/03072025/09/19/image_03072025_09_19_01_9030.jpg', 2), ('/home/pi/Desktop/images/03072025/09/16/image_03072025_09_16_01_3588.jpg', 2), ('/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg', 2), ('/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg', 2), ('/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/20/image_03072025_09_20_01_8573.jpg', '/home/pi/Desktop/images/03072025/09/19/image_03072025_09_19_01_9030.jpg', '/home/pi/Desktop/images/03072025/09/16/image_03072025_09_16_01_3588.jpg', '/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg', '/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg', '/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/20/image_03072025_09_20_01_8573.jpg
/home/pi/Desktop/images/03072025/09/19/image_03072025_09_19_01_9030.jpg
/home/pi/Desktop/images/03072025/09/16/image_03072025_09_16_01_3588.jpg
/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg
/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg
/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7363362312316895 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:23:03.471140
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/22/image_03072025_09_22_01_6064.jpg', 2), ('/home/pi/Desktop/images/03072025/09/20/image_03072025_09_20_01_8573.jpg', 2), ('/home/pi/Desktop/images/03072025/09/19/image_03072025_09_19_01_9030.jpg', 2), ('/home/pi/Desktop/images/03072025/09/16/image_03072025_09_16_01_3588.jpg', 2), ('/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg', 2), ('/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/22/image_03072025_09_22_01_6064.jpg', '/home/pi/Desktop/images/03072025/09/20/image_03072025_09_20_01_8573.jpg', '/home/pi/Desktop/images/03072025/09/19/image_03072025_09_19_01_9030.jpg', '/home/pi/Desktop/images/03072025/09/16/image_03072025_09_16_01_3588.jpg', '/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg', '/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/22/image_03072025_09_22_01_6064.jpg
/home/pi/Desktop/images/03072025/09/20/image_03072025_09_20_01_8573.jpg
/home/pi/Desktop/images/03072025/09/19/image_03072025_09_19_01_9030.jpg
/home/pi/Desktop/images/03072025/09/16/image_03072025_09_16_01_3588.jpg
/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg
/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9608795642852783 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:24:03.735434
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/22/image_03072025_09_22_01_6064.jpg', 2), ('/home/pi/Desktop/images/03072025/09/20/image_03072025_09_20_01_8573.jpg', 2), ('/home/pi/Desktop/images/03072025/09/19/image_03072025_09_19_01_9030.jpg', 2), ('/home/pi/Desktop/images/03072025/09/16/image_03072025_09_16_01_3588.jpg', 2), ('/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg', 2), ('/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/22/image_03072025_09_22_01_6064.jpg', '/home/pi/Desktop/images/03072025/09/20/image_03072025_09_20_01_8573.jpg', '/home/pi/Desktop/images/03072025/09/19/image_03072025_09_19_01_9030.jpg', '/home/pi/Desktop/images/03072025/09/16/image_03072025_09_16_01_3588.jpg', '/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg', '/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/22/image_03072025_09_22_01_6064.jpg
/home/pi/Desktop/images/03072025/09/20/image_03072025_09_20_01_8573.jpg
/home/pi/Desktop/images/03072025/09/19/image_03072025_09_19_01_9030.jpg
/home/pi/Desktop/images/03072025/09/16/image_03072025_09_16_01_3588.jpg
/home/pi/Desktop/images/03072025/09/14/image_03072025_09_14_01_5088.jpg
/home/pi/Desktop/images/03072025/09/13/image_03072025_09_13_01_3018.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370367189","1370367228","1370367170","1370367128","1370367199","1370367203"],"photo_ids_order":["1370367128","1370367170","1370367189","1370367199","1370367203","1370367228"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5138b30f6884f07f46f0450e88404e18.jpg","text":"TemporaryFile(/tmp/multipartBody6019360655568752237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527507104,"filename":"image_03072025_09_19_01_9030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/db9c70814501f16c86495bb441819e5d.jpg","text":"TemporaryFile(/tmp/multipartBody2791090706566532610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527507104,"filename":"image_03072025_09_13_01_3018.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/149ecd82e8169e2b3976bb769e06a81e.jpg","text":"TemporaryFile(/tmp/multipartBody6525842316276441526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527507104,"filename":"image_03072025_09_20_01_8573.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ad68c2e31ffda7cd20107c63320f9c63.jpg","text":"TemporaryFile(/tmp/multipartBody2092048950495836054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527507104,"filename":"image_03072025_09_22_01_6064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/a2b708f4ecc3e32365f7a1d9c11c02dc.jpg","text":"TemporaryFile(/tmp/multipartBody8520525693269918033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527507104,"filename":"image_03072025_09_16_01_3588.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/6d723c15e5dec473fc31d9771f3b22a1.jpg","text":"TemporaryFile(/tmp/multipartBody3102740082398713857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527507104,"filename":"image_03072025_09_14_01_5088.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370367189","file1":"1370367170","file0":"1370367128","file4":"1370367203","file5":"1370367228","file3":"1370367199"},"map_files_photo_id_array":[{"photo_id":"1370367228","filename":"file5"},{"photo_id":"1370367189","filename":"file2"},{"photo_id":"1370367203","filename":"file4"},{"photo_id":"1370367170","filename":"file1"},{"photo_id":"1370367128","filename":"file0"},{"photo_id":"1370367199","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370367189":["hashtag1","hashtag2"]},{"1370367228":["hashtag1","hashtag2"]},{"1370367170":["hashtag1","hashtag2"]},{"1370367128":["hashtag1","hashtag2"]},{"1370367199":["hashtag1","hashtag2"]},{"1370367203":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370367189, 1370367228, 1370367170, 1370367128, 1370367199, 1370367203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.95487403869629 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:26:03.297521
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/23/image_03072025_09_23_02_0497.jpg', 2), ('/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', 2), ('/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg', 2), ('/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg', 2), ('/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg', 2), ('/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/23/image_03072025_09_23_02_0497.jpg', '/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg', '/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg', '/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg', '/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg', '/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/23/image_03072025_09_23_02_0497.jpg
/home/pi/Desktop/images/03072025/09/12/image_03072025_09_12_02_2776.jpg
/home/pi/Desktop/images/03072025/09/11/image_03072025_09_11_01_8790.jpg
/home/pi/Desktop/images/03072025/09/10/image_03072025_09_10_01_8145.jpg
/home/pi/Desktop/images/03072025/09/09/image_03072025_09_09_01_6538.jpg
/home/pi/Desktop/images/03072025/09/08/image_03072025_09_08_01_3562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370367498","1370367409","1370367510","1370367405","1370367455","1370367551"],"photo_ids_order":["1370367405","1370367409","1370367455","1370367498","1370367510","1370367551"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/8a49dc6bf59e41999f0d28ce300461f0.jpg","text":"TemporaryFile(/tmp/multipartBody3094289743634909215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527628149,"filename":"image_03072025_09_10_01_8145.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b2fa02bbc421517d874e98fce245534b.jpg","text":"TemporaryFile(/tmp/multipartBody3836188458195625759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527628149,"filename":"image_03072025_09_12_02_2776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/407ad3e916a67d9da1b734a7028fd551.jpg","text":"TemporaryFile(/tmp/multipartBody3051669558198727170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527628149,"filename":"image_03072025_09_09_01_6538.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2dda7d5b69cb5f90aeba059f1e3a9fda.jpg","text":"TemporaryFile(/tmp/multipartBody4992388814669508908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527628149,"filename":"image_03072025_09_23_02_0497.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/dc54d91eade11a2b203e46b08b13b2e8.jpg","text":"TemporaryFile(/tmp/multipartBody6446868438123131355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527628149,"filename":"image_03072025_09_11_01_8790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f56f88d72f4f4793905ca1d6443b6ef4.jpg","text":"TemporaryFile(/tmp/multipartBody4989759707870868893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527628149,"filename":"image_03072025_09_08_01_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370367455","file1":"1370367409","file0":"1370367405","file4":"1370367510","file5":"1370367551","file3":"1370367498"},"map_files_photo_id_array":[{"photo_id":"1370367551","filename":"file5"},{"photo_id":"1370367455","filename":"file2"},{"photo_id":"1370367510","filename":"file4"},{"photo_id":"1370367409","filename":"file1"},{"photo_id":"1370367405","filename":"file0"},{"photo_id":"1370367498","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370367498":["hashtag1","hashtag2"]},{"1370367409":["hashtag1","hashtag2"]},{"1370367510":["hashtag1","hashtag2"]},{"1370367405":["hashtag1","hashtag2"]},{"1370367455":["hashtag1","hashtag2"]},{"1370367551":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370367498, 1370367409, 1370367510, 1370367405, 1370367455, 1370367551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.289631843566895 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:28:03.289677
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/27/image_03072025_09_27_01_4206.jpg', 2), ('/home/pi/Desktop/images/03072025/09/26/image_03072025_09_26_01_8202.jpg', 2), ('/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg', 2), ('/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg', 2), ('/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg', 2), ('/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/27/image_03072025_09_27_01_4206.jpg', '/home/pi/Desktop/images/03072025/09/26/image_03072025_09_26_01_8202.jpg', '/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg', '/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg', '/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg', '/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/27/image_03072025_09_27_01_4206.jpg
/home/pi/Desktop/images/03072025/09/26/image_03072025_09_26_01_8202.jpg
/home/pi/Desktop/images/03072025/09/07/image_03072025_09_07_01_6589.jpg
/home/pi/Desktop/images/03072025/09/06/image_03072025_09_06_01_7876.jpg
/home/pi/Desktop/images/03072025/09/04/image_03072025_09_04_01_4785.jpg
/home/pi/Desktop/images/03072025/09/02/image_03072025_09_02_02_0229.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370368271","1370368208","1370368400","1370368372","1370368147","1370368287"],"photo_ids_order":["1370368147","1370368208","1370368271","1370368287","1370368372","1370368400"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/0f88fb90c04d46d27fd0716f8638e79b.jpg","text":"TemporaryFile(/tmp/multipartBody5880859116615412889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527748026,"filename":"image_03072025_09_07_01_6589.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/1e57578298094f5ed5afdee9c9e38bfa.jpg","text":"TemporaryFile(/tmp/multipartBody4019742376900832077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527748026,"filename":"image_03072025_09_26_01_8202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/8c697d8fa7732715bf8f5c45a1be2c69.jpg","text":"TemporaryFile(/tmp/multipartBody4892152455112587772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527748026,"filename":"image_03072025_09_02_02_0229.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ecba5da67e2025dffb66cbfa01431c04.jpg","text":"TemporaryFile(/tmp/multipartBody3828171602191994161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527748026,"filename":"image_03072025_09_04_01_4785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/df162910a0075c5bfa4f81754712b859.jpg","text":"TemporaryFile(/tmp/multipartBody3585791603353818624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527748026,"filename":"image_03072025_09_27_01_4206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5574ea5dc1f97a737456fc6a9cb7fc7b.jpg","text":"TemporaryFile(/tmp/multipartBody2979493143660739817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527748026,"filename":"image_03072025_09_06_01_7876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370368271","file1":"1370368208","file0":"1370368147","file4":"1370368372","file5":"1370368400","file3":"1370368287"},"map_files_photo_id_array":[{"photo_id":"1370368400","filename":"file5"},{"photo_id":"1370368271","filename":"file2"},{"photo_id":"1370368372","filename":"file4"},{"photo_id":"1370368208","filename":"file1"},{"photo_id":"1370368147","filename":"file0"},{"photo_id":"1370368287","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370368271":["hashtag1","hashtag2"]},{"1370368208":["hashtag1","hashtag2"]},{"1370368400":["hashtag1","hashtag2"]},{"1370368372":["hashtag1","hashtag2"]},{"1370368147":["hashtag1","hashtag2"]},{"1370368287":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370368271, 1370368208, 1370368400, 1370368372, 1370368147, 1370368287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.4529287815094 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:30:03.065281
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/29/image_03072025_09_29_02_0040.jpg', 2), ('/home/pi/Desktop/images/03072025/09/28/image_03072025_09_28_01_6746.jpg', 2), ('/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg', 2), ('/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg', 2), ('/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg', 2), ('/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/29/image_03072025_09_29_02_0040.jpg', '/home/pi/Desktop/images/03072025/09/28/image_03072025_09_28_01_6746.jpg', '/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg', '/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg', '/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg', '/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/29/image_03072025_09_29_02_0040.jpg
/home/pi/Desktop/images/03072025/09/28/image_03072025_09_28_01_6746.jpg
/home/pi/Desktop/images/03072025/09/01/image_03072025_09_01_02_0313.jpg
/home/pi/Desktop/images/03072025/09/00/image_03072025_09_00_02_0462.jpg
/home/pi/Desktop/images/03072025/08/59/image_03072025_08_59_01_8320.jpg
/home/pi/Desktop/images/03072025/08/58/image_03072025_08_58_01_5124.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370368641","1370368578","1370368608","1370368631","1370368568","1370368594"],"photo_ids_order":["1370368568","1370368578","1370368594","1370368608","1370368631","1370368641"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/260d681ad9c876afae290de704d474d7.jpg","text":"TemporaryFile(/tmp/multipartBody4916058219322698683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527867281,"filename":"image_03072025_08_58_01_5124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/104fc26be5529126031d5c67b3e0600c.jpg","text":"TemporaryFile(/tmp/multipartBody8427142362412625537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527867281,"filename":"image_03072025_09_28_01_6746.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ac99deb969bce949dfd1eb4ebf008b65.jpg","text":"TemporaryFile(/tmp/multipartBody1575594512511216297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527867281,"filename":"image_03072025_09_00_02_0462.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/0b1f5535956b0c3f8cc7212a37254827.jpg","text":"TemporaryFile(/tmp/multipartBody576167838778744592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527867281,"filename":"image_03072025_08_59_01_8320.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5e92bf088908ee4cf855e20c8380ccca.jpg","text":"TemporaryFile(/tmp/multipartBody8193373069398739353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527867281,"filename":"image_03072025_09_29_02_0040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b3e9865af859172779d863b45e50ad6b.jpg","text":"TemporaryFile(/tmp/multipartBody4272826696320060454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527867281,"filename":"image_03072025_09_01_02_0313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370368594","file1":"1370368578","file0":"1370368568","file4":"1370368631","file5":"1370368641","file3":"1370368608"},"map_files_photo_id_array":[{"photo_id":"1370368641","filename":"file5"},{"photo_id":"1370368594","filename":"file2"},{"photo_id":"1370368631","filename":"file4"},{"photo_id":"1370368578","filename":"file1"},{"photo_id":"1370368568","filename":"file0"},{"photo_id":"1370368608","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370368641":["hashtag1","hashtag2"]},{"1370368578":["hashtag1","hashtag2"]},{"1370368608":["hashtag1","hashtag2"]},{"1370368631":["hashtag1","hashtag2"]},{"1370368568":["hashtag1","hashtag2"]},{"1370368594":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370368641, 1370368578, 1370368608, 1370368631, 1370368568, 1370368594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.04795503616333 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:32:03.493120
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/31/image_03072025_09_31_01_6488.jpg', 2), ('/home/pi/Desktop/images/03072025/09/30/image_03072025_09_30_01_4571.jpg', 2), ('/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg', 2), ('/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg', 2), ('/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg', 2), ('/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/31/image_03072025_09_31_01_6488.jpg', '/home/pi/Desktop/images/03072025/09/30/image_03072025_09_30_01_4571.jpg', '/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg', '/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg', '/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg', '/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/31/image_03072025_09_31_01_6488.jpg
/home/pi/Desktop/images/03072025/09/30/image_03072025_09_30_01_4571.jpg
/home/pi/Desktop/images/03072025/08/53/image_03072025_08_53_01_3083.jpg
/home/pi/Desktop/images/03072025/08/52/image_03072025_08_52_01_6923.jpg
/home/pi/Desktop/images/03072025/08/51/image_03072025_08_51_01_4377.jpg
/home/pi/Desktop/images/03072025/08/49/image_03072025_08_49_01_5300.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370368823","1370369059","1370368894","1370368969","1370368804","1370369040"],"photo_ids_order":["1370368804","1370368823","1370368894","1370368969","1370369040","1370369059"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f093ef0283949a9cf5bd4dbe03e11501.jpg","text":"TemporaryFile(/tmp/multipartBody7254815595429077338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527987805,"filename":"image_03072025_09_30_01_4571.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f46bae9d1c01b589c46982b1bcb57e02.jpg","text":"TemporaryFile(/tmp/multipartBody1657599721607227544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527987805,"filename":"image_03072025_08_49_01_5300.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2d2ee16a1bc01f6947a481962ea8ecb3.jpg","text":"TemporaryFile(/tmp/multipartBody3094981169212152410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527987805,"filename":"image_03072025_08_53_01_3083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/3a084a28532b25e9bef08ec32bd90f15.jpg","text":"TemporaryFile(/tmp/multipartBody3653891511926616825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527987805,"filename":"image_03072025_08_52_01_6923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/6799feada681608cbfc5e4e67dfb6e45.jpg","text":"TemporaryFile(/tmp/multipartBody5129969789550630895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527987805,"filename":"image_03072025_09_31_01_6488.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b9a32d8fc4569a563b74ad7bab58ef69.jpg","text":"TemporaryFile(/tmp/multipartBody467153940300494622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751527987805,"filename":"image_03072025_08_51_01_4377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370368894","file1":"1370368823","file0":"1370368804","file4":"1370369040","file5":"1370369059","file3":"1370368969"},"map_files_photo_id_array":[{"photo_id":"1370369059","filename":"file5"},{"photo_id":"1370368894","filename":"file2"},{"photo_id":"1370369040","filename":"file4"},{"photo_id":"1370368823","filename":"file1"},{"photo_id":"1370368804","filename":"file0"},{"photo_id":"1370368969","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370368823":["hashtag1","hashtag2"]},{"1370369059":["hashtag1","hashtag2"]},{"1370368894":["hashtag1","hashtag2"]},{"1370368969":["hashtag1","hashtag2"]},{"1370368804":["hashtag1","hashtag2"]},{"1370369040":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370368823, 1370369059, 1370368894, 1370368969, 1370368804, 1370369040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.392335176467896 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:34:03.243009
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/33/image_03072025_09_33_02_2243.jpg', 2), ('/home/pi/Desktop/images/03072025/09/32/image_03072025_09_32_02_1047.jpg', 2), ('/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', 2), ('/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', 2), ('/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg', 2), ('/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/33/image_03072025_09_33_02_2243.jpg', '/home/pi/Desktop/images/03072025/09/32/image_03072025_09_32_02_1047.jpg', '/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg', '/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg', '/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg', '/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/33/image_03072025_09_33_02_2243.jpg
/home/pi/Desktop/images/03072025/09/32/image_03072025_09_32_02_1047.jpg
/home/pi/Desktop/images/03072025/08/48/image_03072025_08_48_01_9841.jpg
/home/pi/Desktop/images/03072025/08/47/image_03072025_08_47_01_2334.jpg
/home/pi/Desktop/images/03072025/08/46/image_03072025_08_46_01_3790.jpg
/home/pi/Desktop/images/03072025/08/45/image_03072025_08_45_02_0546.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370369612","1370369590","1370369605","1370369500","1370369640","1370369538"],"photo_ids_order":["1370369500","1370369538","1370369590","1370369605","1370369612","1370369640"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/919a835ea181f2f240b29f7cfc307164.jpg","text":"TemporaryFile(/tmp/multipartBody6947915148981237373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528107382,"filename":"image_03072025_08_46_01_3790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/e460fa75099102ab234b9801672c879f.jpg","text":"TemporaryFile(/tmp/multipartBody6653488313975320016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528107382,"filename":"image_03072025_08_48_01_9841.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/a4237cfbfb2623cbe5a84700c43a837d.jpg","text":"TemporaryFile(/tmp/multipartBody7271915522687568550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528107382,"filename":"image_03072025_08_47_01_2334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/98a81c2c2b737436704ba23564318936.jpg","text":"TemporaryFile(/tmp/multipartBody4307543953077798778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528107382,"filename":"image_03072025_09_33_02_2243.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/441300b8e555ea4b0244396387224711.jpg","text":"TemporaryFile(/tmp/multipartBody8961538257145430566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528107382,"filename":"image_03072025_08_45_02_0546.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/cdae28fbbefb79b330810f3651c4102f.jpg","text":"TemporaryFile(/tmp/multipartBody6341475421501335392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528107382,"filename":"image_03072025_09_32_02_1047.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370369590","file1":"1370369538","file0":"1370369500","file4":"1370369612","file5":"1370369640","file3":"1370369605"},"map_files_photo_id_array":[{"photo_id":"1370369640","filename":"file5"},{"photo_id":"1370369590","filename":"file2"},{"photo_id":"1370369612","filename":"file4"},{"photo_id":"1370369538","filename":"file1"},{"photo_id":"1370369500","filename":"file0"},{"photo_id":"1370369605","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370369612":["hashtag1","hashtag2"]},{"1370369590":["hashtag1","hashtag2"]},{"1370369605":["hashtag1","hashtag2"]},{"1370369500":["hashtag1","hashtag2"]},{"1370369640":["hashtag1","hashtag2"]},{"1370369538":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370369612, 1370369590, 1370369605, 1370369500, 1370369640, 1370369538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.98131823539734 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:36:03.563128
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/35/image_03072025_09_35_01_8982.jpg', 2), ('/home/pi/Desktop/images/03072025/09/34/image_03072025_09_34_01_5262.jpg', 2), ('/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg', 2), ('/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg', 2), ('/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg', 2), ('/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/35/image_03072025_09_35_01_8982.jpg', '/home/pi/Desktop/images/03072025/09/34/image_03072025_09_34_01_5262.jpg', '/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg', '/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg', '/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg', '/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/35/image_03072025_09_35_01_8982.jpg
/home/pi/Desktop/images/03072025/09/34/image_03072025_09_34_01_5262.jpg
/home/pi/Desktop/images/03072025/08/44/image_03072025_08_44_02_2856.jpg
/home/pi/Desktop/images/03072025/08/43/image_03072025_08_43_01_4378.jpg
/home/pi/Desktop/images/03072025/08/41/image_03072025_08_41_02_0078.jpg
/home/pi/Desktop/images/03072025/08/40/image_03072025_08_40_01_2094.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370370333","1370370452","1370370269","1370370349","1370370247","1370370406"],"photo_ids_order":["1370370247","1370370269","1370370333","1370370349","1370370406","1370370452"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/535c2619d45920be22326b64062c411a.jpg","text":"TemporaryFile(/tmp/multipartBody7869779402694321967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528227677,"filename":"image_03072025_08_44_02_2856.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/319e76753bbefbd9578cd22ab66d234f.jpg","text":"TemporaryFile(/tmp/multipartBody4984771134349853443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528227677,"filename":"image_03072025_08_40_01_2094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/62157cec14036006c9ad714155cf3a4f.jpg","text":"TemporaryFile(/tmp/multipartBody1063189849222136024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528227677,"filename":"image_03072025_09_34_01_5262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/e9d3f410ad19dadbb22c4d1b31f11376.jpg","text":"TemporaryFile(/tmp/multipartBody6910623105755893495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528227677,"filename":"image_03072025_08_43_01_4378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b228992f82eeb94969486f1b06e55875.jpg","text":"TemporaryFile(/tmp/multipartBody714062412652697007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528227677,"filename":"image_03072025_09_35_01_8982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d065d199934afa75b661328881b23d38.jpg","text":"TemporaryFile(/tmp/multipartBody9181545063355189341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528227677,"filename":"image_03072025_08_41_02_0078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370370333","file1":"1370370269","file0":"1370370247","file4":"1370370406","file5":"1370370452","file3":"1370370349"},"map_files_photo_id_array":[{"photo_id":"1370370452","filename":"file5"},{"photo_id":"1370370333","filename":"file2"},{"photo_id":"1370370406","filename":"file4"},{"photo_id":"1370370269","filename":"file1"},{"photo_id":"1370370247","filename":"file0"},{"photo_id":"1370370349","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370370333":["hashtag1","hashtag2"]},{"1370370452":["hashtag1","hashtag2"]},{"1370370269":["hashtag1","hashtag2"]},{"1370370349":["hashtag1","hashtag2"]},{"1370370247":["hashtag1","hashtag2"]},{"1370370406":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370370333, 1370370452, 1370370269, 1370370349, 1370370247, 1370370406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.69749975204468 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:38:02.702727
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/37/image_03072025_09_37_02_1689.jpg', 2), ('/home/pi/Desktop/images/03072025/09/36/image_03072025_09_36_01_4460.jpg', 2), ('/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg', 2), ('/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg', 2), ('/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg', 2), ('/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/37/image_03072025_09_37_02_1689.jpg', '/home/pi/Desktop/images/03072025/09/36/image_03072025_09_36_01_4460.jpg', '/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg', '/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg', '/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg', '/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/37/image_03072025_09_37_02_1689.jpg
/home/pi/Desktop/images/03072025/09/36/image_03072025_09_36_01_4460.jpg
/home/pi/Desktop/images/03072025/08/39/image_03072025_08_39_01_2847.jpg
/home/pi/Desktop/images/03072025/08/38/image_03072025_08_38_01_2445.jpg
/home/pi/Desktop/images/03072025/08/36/image_03072025_08_36_01_9338.jpg
/home/pi/Desktop/images/03072025/08/35/image_03072025_08_35_01_7117.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370371049","1370371198","1370371293","1370371176","1370371077","1370371146"],"photo_ids_order":["1370371049","1370371077","1370371146","1370371176","1370371198","1370371293"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/699dc5e39b36f3381ec2271d1dc26096.jpg","text":"TemporaryFile(/tmp/multipartBody7215670183534326278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528346873,"filename":"image_03072025_09_37_02_1689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2a1d7140603e87a6325c823f2f9311e5.jpg","text":"TemporaryFile(/tmp/multipartBody480150078342582325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528346873,"filename":"image_03072025_08_36_01_9338.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/8c7148fc67a04ee7273a60658e213ee4.jpg","text":"TemporaryFile(/tmp/multipartBody2474038739304204181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528346873,"filename":"image_03072025_08_35_01_7117.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/8fd0bd62e9846b0f32670e8379d67daf.jpg","text":"TemporaryFile(/tmp/multipartBody7492350084073298955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528346873,"filename":"image_03072025_08_38_01_2445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/26e291f38e26f8c47466cae56d70dc72.jpg","text":"TemporaryFile(/tmp/multipartBody2132821377884549264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528346873,"filename":"image_03072025_09_36_01_4460.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2422bd8055a8959ce4080c1f81894025.jpg","text":"TemporaryFile(/tmp/multipartBody4023065725986591117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528346873,"filename":"image_03072025_08_39_01_2847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370371146","file1":"1370371077","file0":"1370371049","file4":"1370371198","file5":"1370371293","file3":"1370371176"},"map_files_photo_id_array":[{"photo_id":"1370371293","filename":"file5"},{"photo_id":"1370371146","filename":"file2"},{"photo_id":"1370371198","filename":"file4"},{"photo_id":"1370371077","filename":"file1"},{"photo_id":"1370371049","filename":"file0"},{"photo_id":"1370371176","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370371049":["hashtag1","hashtag2"]},{"1370371198":["hashtag1","hashtag2"]},{"1370371293":["hashtag1","hashtag2"]},{"1370371176":["hashtag1","hashtag2"]},{"1370371077":["hashtag1","hashtag2"]},{"1370371146":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370371049, 1370371198, 1370371293, 1370371176, 1370371077, 1370371146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.52470016479492 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:40:02.641448
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/40/image_03072025_09_40_01_7806.jpg', 2), ('/home/pi/Desktop/images/03072025/09/38/image_03072025_09_38_01_6404.jpg', 2), ('/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg', 2), ('/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg', 2), ('/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg', 2), ('/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/40/image_03072025_09_40_01_7806.jpg', '/home/pi/Desktop/images/03072025/09/38/image_03072025_09_38_01_6404.jpg', '/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg', '/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg', '/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg', '/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/40/image_03072025_09_40_01_7806.jpg
/home/pi/Desktop/images/03072025/09/38/image_03072025_09_38_01_6404.jpg
/home/pi/Desktop/images/03072025/08/34/image_03072025_08_34_01_4146.jpg
/home/pi/Desktop/images/03072025/08/33/image_03072025_08_33_02_1951.jpg
/home/pi/Desktop/images/03072025/08/32/image_03072025_08_32_01_3680.jpg
/home/pi/Desktop/images/03072025/08/31/image_03072025_08_31_01_8722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370371993","1370371858","1370371729","1370371929","1370371908","1370371800"],"photo_ids_order":["1370371729","1370371800","1370371858","1370371908","1370371929","1370371993"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7cdd6f3a182d6566e7822d8d1d049a07.jpg","text":"TemporaryFile(/tmp/multipartBody2151105886690581409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528467843,"filename":"image_03072025_08_31_01_8722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b871760df39fa54c69b93ef6ef5f3945.jpg","text":"TemporaryFile(/tmp/multipartBody3084779954763717713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528467843,"filename":"image_03072025_08_34_01_4146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/749bcd63942672eaa17511d45b0798c5.jpg","text":"TemporaryFile(/tmp/multipartBody3091673482552171617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528467843,"filename":"image_03072025_09_40_01_7806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f2c6f4cb14763c2054af30c5a212e6f7.jpg","text":"TemporaryFile(/tmp/multipartBody3042571527832232159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528467843,"filename":"image_03072025_08_32_01_3680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2e7e49ff68f4aeebdd4e1ef4e45aecf7.jpg","text":"TemporaryFile(/tmp/multipartBody8802531710086168773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528467843,"filename":"image_03072025_08_33_02_1951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/03cb7285a8f724c410d13c076b899d73.jpg","text":"TemporaryFile(/tmp/multipartBody3665314196683980359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528467843,"filename":"image_03072025_09_38_01_6404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370371858","file1":"1370371800","file0":"1370371729","file4":"1370371929","file5":"1370371993","file3":"1370371908"},"map_files_photo_id_array":[{"photo_id":"1370371993","filename":"file5"},{"photo_id":"1370371858","filename":"file2"},{"photo_id":"1370371929","filename":"file4"},{"photo_id":"1370371800","filename":"file1"},{"photo_id":"1370371729","filename":"file0"},{"photo_id":"1370371908","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370371993":["hashtag1","hashtag2"]},{"1370371858":["hashtag1","hashtag2"]},{"1370371729":["hashtag1","hashtag2"]},{"1370371929":["hashtag1","hashtag2"]},{"1370371908":["hashtag1","hashtag2"]},{"1370371800":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370371993, 1370371858, 1370371729, 1370371929, 1370371908, 1370371800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.24956274032593 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:42:02.780149
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/41/image_03072025_09_41_01_1971.jpg', 2), ('/home/pi/Desktop/images/03072025/09/39/image_03072025_09_39_01_3544.jpg', 2), ('/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg', 2), ('/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg', 2), ('/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg', 2), ('/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/41/image_03072025_09_41_01_1971.jpg', '/home/pi/Desktop/images/03072025/09/39/image_03072025_09_39_01_3544.jpg', '/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg', '/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg', '/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg', '/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/41/image_03072025_09_41_01_1971.jpg
/home/pi/Desktop/images/03072025/09/39/image_03072025_09_39_01_3544.jpg
/home/pi/Desktop/images/03072025/08/30/image_03072025_08_30_01_8803.jpg
/home/pi/Desktop/images/03072025/08/29/image_03072025_08_29_01_4273.jpg
/home/pi/Desktop/images/03072025/08/28/image_03072025_08_28_01_4164.jpg
/home/pi/Desktop/images/03072025/08/27/image_03072025_08_27_01_4268.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370372339","1370372395","1370372475","1370372433","1370372442","1370372438"],"photo_ids_order":["1370372339","1370372395","1370372433","1370372438","1370372442","1370372475"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/462701fbd6776fac60cb9393edf2ce81.jpg","text":"TemporaryFile(/tmp/multipartBody6546225812631049218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528586797,"filename":"image_03072025_09_41_01_1971.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b675582f081b0973034172f1d64bf2e6.jpg","text":"TemporaryFile(/tmp/multipartBody7385984707354604693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528586797,"filename":"image_03072025_09_39_01_3544.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/41a9535eef6bea51419ea80747904f56.jpg","text":"TemporaryFile(/tmp/multipartBody4894801599581100417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528586797,"filename":"image_03072025_08_27_01_4268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/903f5bc5341bece25775d3f2f52e787a.jpg","text":"TemporaryFile(/tmp/multipartBody6807533491818153730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528586797,"filename":"image_03072025_08_30_01_8803.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/a0cbe2e498a26c545b9ad244410232f2.jpg","text":"TemporaryFile(/tmp/multipartBody7147240123166832688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528586797,"filename":"image_03072025_08_28_01_4164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2115ccbb3ae8e4ddc45621374e38f039.jpg","text":"TemporaryFile(/tmp/multipartBody738011528753049552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528586797,"filename":"image_03072025_08_29_01_4273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370372433","file1":"1370372395","file0":"1370372339","file4":"1370372442","file5":"1370372475","file3":"1370372438"},"map_files_photo_id_array":[{"photo_id":"1370372475","filename":"file5"},{"photo_id":"1370372433","filename":"file2"},{"photo_id":"1370372442","filename":"file4"},{"photo_id":"1370372395","filename":"file1"},{"photo_id":"1370372339","filename":"file0"},{"photo_id":"1370372438","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370372339":["hashtag1","hashtag2"]},{"1370372395":["hashtag1","hashtag2"]},{"1370372475":["hashtag1","hashtag2"]},{"1370372433":["hashtag1","hashtag2"]},{"1370372442":["hashtag1","hashtag2"]},{"1370372438":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370372339, 1370372395, 1370372475, 1370372433, 1370372442, 1370372438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.600937843322754 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:44:03.193205
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/43/image_03072025_09_43_01_5225.jpg', 2), ('/home/pi/Desktop/images/03072025/09/42/image_03072025_09_42_01_5040.jpg', 2), ('/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg', 2), ('/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg', 2), ('/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg', 2), ('/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/43/image_03072025_09_43_01_5225.jpg', '/home/pi/Desktop/images/03072025/09/42/image_03072025_09_42_01_5040.jpg', '/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg', '/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg', '/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg', '/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/43/image_03072025_09_43_01_5225.jpg
/home/pi/Desktop/images/03072025/09/42/image_03072025_09_42_01_5040.jpg
/home/pi/Desktop/images/03072025/08/26/image_03072025_08_26_01_9855.jpg
/home/pi/Desktop/images/03072025/08/25/image_03072025_08_25_02_0000.jpg
/home/pi/Desktop/images/03072025/08/24/image_03072025_08_24_01_8376.jpg
/home/pi/Desktop/images/03072025/08/23/image_03072025_08_23_01_4984.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370372683","1370372692","1370372653","1370372701","1370372725","1370372661"],"photo_ids_order":["1370372653","1370372661","1370372683","1370372692","1370372701","1370372725"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/fc746756bd52c2b9bdb94b50c1880428.jpg","text":"TemporaryFile(/tmp/multipartBody8329970193360172568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528707176,"filename":"image_03072025_08_26_01_9855.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/71183185ea8a475b564cd6829a67db67.jpg","text":"TemporaryFile(/tmp/multipartBody8340302070640636737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528707176,"filename":"image_03072025_08_25_02_0000.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2af05fd152af5c8809b1e3ce87d46866.jpg","text":"TemporaryFile(/tmp/multipartBody492468291269311304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528707176,"filename":"image_03072025_09_43_01_5225.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/76d5eed323547331add96aa6ce7f1aa9.jpg","text":"TemporaryFile(/tmp/multipartBody2801483708680772269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528707176,"filename":"image_03072025_08_24_01_8376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/bf4d07280d5417cae1a4e60838f9f0d9.jpg","text":"TemporaryFile(/tmp/multipartBody1110084568264999569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528707176,"filename":"image_03072025_08_23_01_4984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/a49320215d994837fa6201fcc54c5954.jpg","text":"TemporaryFile(/tmp/multipartBody697861170430533976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528707176,"filename":"image_03072025_09_42_01_5040.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370372683","file1":"1370372661","file0":"1370372653","file4":"1370372701","file5":"1370372725","file3":"1370372692"},"map_files_photo_id_array":[{"photo_id":"1370372725","filename":"file5"},{"photo_id":"1370372683","filename":"file2"},{"photo_id":"1370372701","filename":"file4"},{"photo_id":"1370372661","filename":"file1"},{"photo_id":"1370372653","filename":"file0"},{"photo_id":"1370372692","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370372683":["hashtag1","hashtag2"]},{"1370372692":["hashtag1","hashtag2"]},{"1370372653":["hashtag1","hashtag2"]},{"1370372701":["hashtag1","hashtag2"]},{"1370372725":["hashtag1","hashtag2"]},{"1370372661":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370372683, 1370372692, 1370372653, 1370372701, 1370372725, 1370372661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.5039918422699 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:46:02.647063
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/45/image_03072025_09_45_01_7651.jpg', 2), ('/home/pi/Desktop/images/03072025/09/44/image_03072025_09_44_01_9642.jpg', 2), ('/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg', 2), ('/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg', 2), ('/home/pi/Desktop/images/03072025/08/20/image_03072025_08_20_02_2041.jpg', 2), ('/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/45/image_03072025_09_45_01_7651.jpg', '/home/pi/Desktop/images/03072025/09/44/image_03072025_09_44_01_9642.jpg', '/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg', '/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg', '/home/pi/Desktop/images/03072025/08/20/image_03072025_08_20_02_2041.jpg', '/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/45/image_03072025_09_45_01_7651.jpg
/home/pi/Desktop/images/03072025/09/44/image_03072025_09_44_01_9642.jpg
/home/pi/Desktop/images/03072025/08/22/image_03072025_08_22_01_4660.jpg
/home/pi/Desktop/images/03072025/08/21/image_03072025_08_21_01_3833.jpg
/home/pi/Desktop/images/03072025/08/20/image_03072025_08_20_02_2041.jpg
/home/pi/Desktop/images/03072025/08/19/image_03072025_08_19_02_0409.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370373235","1370373085","1370373318","1370373098","1370373155","1370373335"],"photo_ids_order":["1370373085","1370373098","1370373155","1370373235","1370373318","1370373335"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d2e43a3ea438cbe03f41faf5022160f3.jpg","text":"TemporaryFile(/tmp/multipartBody558713047286471193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528826732,"filename":"image_03072025_08_21_01_3833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ce6e7c9a86651181b968bbfc572727cd.jpg","text":"TemporaryFile(/tmp/multipartBody3059315379805557340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528826732,"filename":"image_03072025_09_45_01_7651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/9056e7a186e1ab5cb8387f9fa69367f0.jpg","text":"TemporaryFile(/tmp/multipartBody6362113925772140315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528826732,"filename":"image_03072025_08_20_02_2041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d7c3112f059474fb758b642b3bce8b5c.jpg","text":"TemporaryFile(/tmp/multipartBody233385889307556180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528826732,"filename":"image_03072025_09_44_01_9642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/df94c63ac28f520bfd65c67b2718ed04.jpg","text":"TemporaryFile(/tmp/multipartBody7352694723811228297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528826732,"filename":"image_03072025_08_22_01_4660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/a26bd192816a2c1ef0cd03179bf1b79c.jpg","text":"TemporaryFile(/tmp/multipartBody5262869484614162123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528826732,"filename":"image_03072025_08_19_02_0409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370373155","file1":"1370373098","file0":"1370373085","file4":"1370373318","file5":"1370373335","file3":"1370373235"},"map_files_photo_id_array":[{"photo_id":"1370373335","filename":"file5"},{"photo_id":"1370373155","filename":"file2"},{"photo_id":"1370373318","filename":"file4"},{"photo_id":"1370373098","filename":"file1"},{"photo_id":"1370373085","filename":"file0"},{"photo_id":"1370373235","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370373235":["hashtag1","hashtag2"]},{"1370373085":["hashtag1","hashtag2"]},{"1370373318":["hashtag1","hashtag2"]},{"1370373098":["hashtag1","hashtag2"]},{"1370373155":["hashtag1","hashtag2"]},{"1370373335":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370373235, 1370373085, 1370373318, 1370373098, 1370373155, 1370373335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.736703395843506 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:48:03.563343
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/47/image_03072025_09_47_01_2720.jpg', 2), ('/home/pi/Desktop/images/03072025/09/46/image_03072025_09_46_01_4311.jpg', 2), ('/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg', 2), ('/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg', 2), ('/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg', 2), ('/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/47/image_03072025_09_47_01_2720.jpg', '/home/pi/Desktop/images/03072025/09/46/image_03072025_09_46_01_4311.jpg', '/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg', '/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg', '/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg', '/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/47/image_03072025_09_47_01_2720.jpg
/home/pi/Desktop/images/03072025/09/46/image_03072025_09_46_01_4311.jpg
/home/pi/Desktop/images/03072025/08/18/image_03072025_08_18_02_0712.jpg
/home/pi/Desktop/images/03072025/08/17/image_03072025_08_17_01_5124.jpg
/home/pi/Desktop/images/03072025/08/02/image_03072025_08_02_01_4840.jpg
/home/pi/Desktop/images/03072025/08/01/image_03072025_08_01_01_2850.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370373883","1370373790","1370373811","1370373851","1370373827","1370373728"],"photo_ids_order":["1370373728","1370373790","1370373811","1370373827","1370373851","1370373883"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/942003bca5891d5473c25aa09a0d6811.jpg","text":"TemporaryFile(/tmp/multipartBody5276828636896783539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528947666,"filename":"image_03072025_08_01_01_2850.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/9e1ba53479d8cdde6276501531f05d0e.jpg","text":"TemporaryFile(/tmp/multipartBody6679164722327419118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528947666,"filename":"image_03072025_09_46_01_4311.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f795cbcf6501d5bb46a234637211ba04.jpg","text":"TemporaryFile(/tmp/multipartBody3216617575800040813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528947666,"filename":"image_03072025_08_18_02_0712.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/163a8e5d99be6db8f4d502c50bc1c3c9.jpg","text":"TemporaryFile(/tmp/multipartBody8578719228653366856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528947666,"filename":"image_03072025_08_02_01_4840.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5e161a3debdb030ad52ac5058db8005f.jpg","text":"TemporaryFile(/tmp/multipartBody8903735476031312156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528947666,"filename":"image_03072025_08_17_01_5124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/029d82a5212914bb5bc2467ccf448568.jpg","text":"TemporaryFile(/tmp/multipartBody8363994826179587796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751528947666,"filename":"image_03072025_09_47_01_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370373811","file1":"1370373790","file0":"1370373728","file4":"1370373851","file5":"1370373883","file3":"1370373827"},"map_files_photo_id_array":[{"photo_id":"1370373883","filename":"file5"},{"photo_id":"1370373811","filename":"file2"},{"photo_id":"1370373851","filename":"file4"},{"photo_id":"1370373790","filename":"file1"},{"photo_id":"1370373728","filename":"file0"},{"photo_id":"1370373827","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370373883":["hashtag1","hashtag2"]},{"1370373790":["hashtag1","hashtag2"]},{"1370373811":["hashtag1","hashtag2"]},{"1370373851":["hashtag1","hashtag2"]},{"1370373827":["hashtag1","hashtag2"]},{"1370373728":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370373883, 1370373790, 1370373811, 1370373851, 1370373827, 1370373728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.00045895576477 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:50:02.931177
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/49/image_03072025_09_49_02_1732.jpg', 2), ('/home/pi/Desktop/images/03072025/09/48/image_03072025_09_48_01_6280.jpg', 2), ('/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', 2), ('/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', 2), ('/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/49/image_03072025_09_49_02_1732.jpg', '/home/pi/Desktop/images/03072025/09/48/image_03072025_09_48_01_6280.jpg', '/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg', '/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg', '/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg', '/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/49/image_03072025_09_49_02_1732.jpg
/home/pi/Desktop/images/03072025/09/48/image_03072025_09_48_01_6280.jpg
/home/pi/Desktop/images/03072025/07/59/image_03072025_07_59_01_4043.jpg
/home/pi/Desktop/images/03072025/07/57/image_03072025_07_57_02_0321.jpg
/home/pi/Desktop/images/03072025/07/56/image_03072025_07_56_02_1515.jpg
/home/pi/Desktop/images/03072025/07/49/image_03072025_07_49_01_8249.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370374414","1370374303","1370374603","1370374488","1370374253","1370374543"],"photo_ids_order":["1370374253","1370374303","1370374414","1370374488","1370374543","1370374603"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/c4499ee94ad6b6505ad991d0f3e442bf.jpg","text":"TemporaryFile(/tmp/multipartBody1424137336954669079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529067117,"filename":"image_03072025_07_59_01_4043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/347444adbae7c87024a28135bbf66989.jpg","text":"TemporaryFile(/tmp/multipartBody4468437230834514346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529067117,"filename":"image_03072025_09_48_01_6280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/14d1e9df22b3993b98fcaf6749c09e59.jpg","text":"TemporaryFile(/tmp/multipartBody4034264625920257942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529067117,"filename":"image_03072025_07_49_01_8249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/dccb4b49f50ddcab1fbe8e83dd7eb34f.jpg","text":"TemporaryFile(/tmp/multipartBody1294009906760873595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529067117,"filename":"image_03072025_07_57_02_0321.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/0cc04a0cce8f720b159994508debe259.jpg","text":"TemporaryFile(/tmp/multipartBody7347996594691224774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529067117,"filename":"image_03072025_09_49_02_1732.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/1f20e7fe778964434926af487810212d.jpg","text":"TemporaryFile(/tmp/multipartBody9018342221261444913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529067117,"filename":"image_03072025_07_56_02_1515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370374414","file1":"1370374303","file0":"1370374253","file4":"1370374543","file5":"1370374603","file3":"1370374488"},"map_files_photo_id_array":[{"photo_id":"1370374603","filename":"file5"},{"photo_id":"1370374414","filename":"file2"},{"photo_id":"1370374543","filename":"file4"},{"photo_id":"1370374303","filename":"file1"},{"photo_id":"1370374253","filename":"file0"},{"photo_id":"1370374488","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370374414":["hashtag1","hashtag2"]},{"1370374303":["hashtag1","hashtag2"]},{"1370374603":["hashtag1","hashtag2"]},{"1370374488":["hashtag1","hashtag2"]},{"1370374253":["hashtag1","hashtag2"]},{"1370374543":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370374414, 1370374303, 1370374603, 1370374488, 1370374253, 1370374543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.55696654319763 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:52:03.189564
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/51/image_03072025_09_51_01_6075.jpg', 2), ('/home/pi/Desktop/images/03072025/09/50/image_03072025_09_50_01_6908.jpg', 2), ('/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', 2), ('/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', 2), ('/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', 2), ('/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/51/image_03072025_09_51_01_6075.jpg', '/home/pi/Desktop/images/03072025/09/50/image_03072025_09_50_01_6908.jpg', '/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg', '/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg', '/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg', '/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/51/image_03072025_09_51_01_6075.jpg
/home/pi/Desktop/images/03072025/09/50/image_03072025_09_50_01_6908.jpg
/home/pi/Desktop/images/03072025/07/48/image_03072025_07_48_02_0835.jpg
/home/pi/Desktop/images/03072025/07/36/image_03072025_07_36_01_4035.jpg
/home/pi/Desktop/images/03072025/07/35/image_03072025_07_35_01_2795.jpg
/home/pi/Desktop/images/03072025/07/34/image_03072025_07_34_02_1427.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370374825","1370374895","1370374880","1370374871","1370374832","1370374867"],"photo_ids_order":["1370374825","1370374832","1370374867","1370374871","1370374880","1370374895"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7dea6538878377b57672c9237f963999.jpg","text":"TemporaryFile(/tmp/multipartBody968407307785564266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529187390,"filename":"image_03072025_09_51_01_6075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/c800c9069de0e36a703132977e81434a.jpg","text":"TemporaryFile(/tmp/multipartBody374495903782112794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529187390,"filename":"image_03072025_07_34_02_1427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/e8216d5efcdb0fc31d649884aee28cc7.jpg","text":"TemporaryFile(/tmp/multipartBody1349192144038297161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529187390,"filename":"image_03072025_07_35_01_2795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b9470b84002ec794e3675f47c59d1bd0.jpg","text":"TemporaryFile(/tmp/multipartBody7690153158668592156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529187390,"filename":"image_03072025_07_36_01_4035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d03f05ea87c52895d1473463bc8f1dc3.jpg","text":"TemporaryFile(/tmp/multipartBody5729760500248717862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529187390,"filename":"image_03072025_09_50_01_6908.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/4d6fe0293c0bb7fb560065b557126950.jpg","text":"TemporaryFile(/tmp/multipartBody1444648303878392414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529187390,"filename":"image_03072025_07_48_02_0835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370374867","file1":"1370374832","file0":"1370374825","file4":"1370374880","file5":"1370374895","file3":"1370374871"},"map_files_photo_id_array":[{"photo_id":"1370374895","filename":"file5"},{"photo_id":"1370374867","filename":"file2"},{"photo_id":"1370374880","filename":"file4"},{"photo_id":"1370374832","filename":"file1"},{"photo_id":"1370374825","filename":"file0"},{"photo_id":"1370374871","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370374825":["hashtag1","hashtag2"]},{"1370374895":["hashtag1","hashtag2"]},{"1370374880":["hashtag1","hashtag2"]},{"1370374871":["hashtag1","hashtag2"]},{"1370374832":["hashtag1","hashtag2"]},{"1370374867":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370374825, 1370374895, 1370374880, 1370374871, 1370374832, 1370374867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.52238440513611 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:54:03.458145
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/53/image_03072025_09_53_01_8230.jpg', 2), ('/home/pi/Desktop/images/03072025/09/52/image_03072025_09_52_01_9630.jpg', 2), ('/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', 2), ('/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', 2), ('/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', 2), ('/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/53/image_03072025_09_53_01_8230.jpg', '/home/pi/Desktop/images/03072025/09/52/image_03072025_09_52_01_9630.jpg', '/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg', '/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg', '/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg', '/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/53/image_03072025_09_53_01_8230.jpg
/home/pi/Desktop/images/03072025/09/52/image_03072025_09_52_01_9630.jpg
/home/pi/Desktop/images/03072025/07/33/image_03072025_07_33_02_0305.jpg
/home/pi/Desktop/images/03072025/07/32/image_03072025_07_32_02_0340.jpg
/home/pi/Desktop/images/03072025/07/28/image_03072025_07_28_02_1648.jpg
/home/pi/Desktop/images/03072025/07/26/image_03072025_07_26_01_5766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370375205","1370375180","1370375249","1370375234","1370375213","1370375146"],"photo_ids_order":["1370375146","1370375180","1370375205","1370375213","1370375234","1370375249"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/233a03f153db4f3c86ba31cc254030ba.jpg","text":"TemporaryFile(/tmp/multipartBody8293889540510335578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529307556,"filename":"image_03072025_07_33_02_0305.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/4745638c7985231309859af0d4ac1c1c.jpg","text":"TemporaryFile(/tmp/multipartBody7107935861698449186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529307556,"filename":"image_03072025_09_52_01_9630.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f87192211eeeca950d172c6602ecfdfb.jpg","text":"TemporaryFile(/tmp/multipartBody4240061864831333333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529307556,"filename":"image_03072025_07_26_01_5766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2f7ff58439ea07d9e38ea02924851b9e.jpg","text":"TemporaryFile(/tmp/multipartBody4802908326509031656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529307556,"filename":"image_03072025_07_28_02_1648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ae603faa325c1ac7f15f36394e011fdc.jpg","text":"TemporaryFile(/tmp/multipartBody4149394969750741786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529307556,"filename":"image_03072025_07_32_02_0340.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/cc9f918e658cc372e39e493d9373ae7d.jpg","text":"TemporaryFile(/tmp/multipartBody7357579643868018993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529307556,"filename":"image_03072025_09_53_01_8230.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370375205","file1":"1370375180","file0":"1370375146","file4":"1370375234","file5":"1370375249","file3":"1370375213"},"map_files_photo_id_array":[{"photo_id":"1370375249","filename":"file5"},{"photo_id":"1370375205","filename":"file2"},{"photo_id":"1370375234","filename":"file4"},{"photo_id":"1370375180","filename":"file1"},{"photo_id":"1370375146","filename":"file0"},{"photo_id":"1370375213","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370375205":["hashtag1","hashtag2"]},{"1370375180":["hashtag1","hashtag2"]},{"1370375249":["hashtag1","hashtag2"]},{"1370375234":["hashtag1","hashtag2"]},{"1370375213":["hashtag1","hashtag2"]},{"1370375146":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370375205, 1370375180, 1370375249, 1370375234, 1370375213, 1370375146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.764610290527344 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:56:02.678548
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/55/image_03072025_09_55_02_1564.jpg', 2), ('/home/pi/Desktop/images/03072025/09/54/image_03072025_09_54_02_1969.jpg', 2), ('/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', 2), ('/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', 2), ('/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', 2), ('/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/55/image_03072025_09_55_02_1564.jpg', '/home/pi/Desktop/images/03072025/09/54/image_03072025_09_54_02_1969.jpg', '/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg', '/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg', '/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg', '/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/55/image_03072025_09_55_02_1564.jpg
/home/pi/Desktop/images/03072025/09/54/image_03072025_09_54_02_1969.jpg
/home/pi/Desktop/images/03072025/07/23/image_03072025_07_23_01_6744.jpg
/home/pi/Desktop/images/03072025/07/22/image_03072025_07_22_01_5735.jpg
/home/pi/Desktop/images/03072025/07/20/image_03072025_07_20_01_4198.jpg
/home/pi/Desktop/images/03072025/07/13/image_03072025_07_13_01_7963.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370375814","1370375627","1370375807","1370375692","1370375752","1370375827"],"photo_ids_order":["1370375627","1370375692","1370375752","1370375807","1370375814","1370375827"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b47f15c700e193776b8faca0572cce2a.jpg","text":"TemporaryFile(/tmp/multipartBody4771850407668792186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529426762,"filename":"image_03072025_07_20_01_4198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/eb05d972e04702b1cd42488d1fac67ee.jpg","text":"TemporaryFile(/tmp/multipartBody7857771011731185357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529426762,"filename":"image_03072025_09_55_02_1564.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/50d5d3436b04a9348d76bf85ed01430f.jpg","text":"TemporaryFile(/tmp/multipartBody1741799489415992472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529426762,"filename":"image_03072025_07_22_01_5735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/3abbf492665699d72ced46a534d20cbb.jpg","text":"TemporaryFile(/tmp/multipartBody5453756165515647586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529426762,"filename":"image_03072025_09_54_02_1969.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/02cd373af9e70f48b1d08532a8c809cb.jpg","text":"TemporaryFile(/tmp/multipartBody8062087830681713248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529426762,"filename":"image_03072025_07_23_01_6744.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7532e67b798a7d46f7b716ef2864dd1c.jpg","text":"TemporaryFile(/tmp/multipartBody1534964695557064981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529426762,"filename":"image_03072025_07_13_01_7963.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370375752","file1":"1370375692","file0":"1370375627","file4":"1370375814","file5":"1370375827","file3":"1370375807"},"map_files_photo_id_array":[{"photo_id":"1370375827","filename":"file5"},{"photo_id":"1370375752","filename":"file2"},{"photo_id":"1370375814","filename":"file4"},{"photo_id":"1370375692","filename":"file1"},{"photo_id":"1370375627","filename":"file0"},{"photo_id":"1370375807","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370375814":["hashtag1","hashtag2"]},{"1370375627":["hashtag1","hashtag2"]},{"1370375807":["hashtag1","hashtag2"]},{"1370375692":["hashtag1","hashtag2"]},{"1370375752":["hashtag1","hashtag2"]},{"1370375827":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370375814, 1370375627, 1370375807, 1370375692, 1370375752, 1370375827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.526325941085815 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 09:59:03.436769
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/09/56/image_03072025_09_56_01_4892.jpg', 2), ('/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', 2), ('/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', 2), ('/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', 2), ('/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', 2), ('/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/09/56/image_03072025_09_56_01_4892.jpg', '/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg', '/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg', '/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg', '/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg', '/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/09/56/image_03072025_09_56_01_4892.jpg
/home/pi/Desktop/images/03072025/07/12/image_03072025_07_12_01_8189.jpg
/home/pi/Desktop/images/03072025/07/11/image_03072025_07_11_01_3231.jpg
/home/pi/Desktop/images/03072025/07/06/image_03072025_07_06_02_3405.jpg
/home/pi/Desktop/images/03072025/07/03/image_03072025_07_03_02_2786.jpg
/home/pi/Desktop/images/03072025/06/59/image_03072025_06_59_01_3171.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370377121","1370376880","1370377095","1370376993","1370377056","1370376774"],"photo_ids_order":["1370376774","1370376880","1370376993","1370377056","1370377095","1370377121"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/1f81385a17a807bf67cbb1ceca475235.jpg","text":"TemporaryFile(/tmp/multipartBody8879495947377587249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529607876,"filename":"image_03072025_06_59_01_3171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ec8f3b156ff0e6533c809e6f6b0c2426.jpg","text":"TemporaryFile(/tmp/multipartBody3596722219508827466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529607876,"filename":"image_03072025_07_12_01_8189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/63859cb6ac640cc19be1073d50819159.jpg","text":"TemporaryFile(/tmp/multipartBody3057191584890815771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529607876,"filename":"image_03072025_07_03_02_2786.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/c363629ea0b227b5053cc5e9f0649f41.jpg","text":"TemporaryFile(/tmp/multipartBody3236473807454944258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529607876,"filename":"image_03072025_07_11_01_3231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/4860248bff1f95e165d04c6cdca6c38e.jpg","text":"TemporaryFile(/tmp/multipartBody8887855153920959383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529607876,"filename":"image_03072025_07_06_02_3405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/8d476b13321e03f6633b78823d95440d.jpg","text":"TemporaryFile(/tmp/multipartBody1965769522331448996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529607876,"filename":"image_03072025_09_56_01_4892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370376993","file1":"1370376880","file0":"1370376774","file4":"1370377095","file5":"1370377121","file3":"1370377056"},"map_files_photo_id_array":[{"photo_id":"1370377121","filename":"file5"},{"photo_id":"1370376993","filename":"file2"},{"photo_id":"1370377095","filename":"file4"},{"photo_id":"1370376880","filename":"file1"},{"photo_id":"1370376774","filename":"file0"},{"photo_id":"1370377056","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370377121":["hashtag1","hashtag2"]},{"1370376880":["hashtag1","hashtag2"]},{"1370377095":["hashtag1","hashtag2"]},{"1370376993":["hashtag1","hashtag2"]},{"1370377056":["hashtag1","hashtag2"]},{"1370376774":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370377121, 1370376880, 1370377095, 1370376993, 1370377056, 1370376774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.26794958114624 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:01:03.816399
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/00/image_03072025_10_00_01_5916.jpg', 2), ('/home/pi/Desktop/images/03072025/09/58/image_03072025_09_58_01_6668.jpg', 2), ('/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', 2), ('/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', 2), ('/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', 2), ('/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/00/image_03072025_10_00_01_5916.jpg', '/home/pi/Desktop/images/03072025/09/58/image_03072025_09_58_01_6668.jpg', '/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg', '/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg', '/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg', '/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/00/image_03072025_10_00_01_5916.jpg
/home/pi/Desktop/images/03072025/09/58/image_03072025_09_58_01_6668.jpg
/home/pi/Desktop/images/03072025/06/58/image_03072025_06_58_01_3940.jpg
/home/pi/Desktop/images/03072025/06/57/image_03072025_06_57_01_8802.jpg
/home/pi/Desktop/images/03072025/06/56/image_03072025_06_56_01_3598.jpg
/home/pi/Desktop/images/03072025/06/55/image_03072025_06_55_01_2137.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370377608","1370377637","1370377559","1370377621","1370377534","1370377545"],"photo_ids_order":["1370377534","1370377545","1370377559","1370377608","1370377621","1370377637"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/deb44b73a4863c27023fbd15ee50e557.jpg","text":"TemporaryFile(/tmp/multipartBody1793080344061532254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529728035,"filename":"image_03072025_06_57_01_8802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/3bf2ae4935b9638bfc988b9795f53479.jpg","text":"TemporaryFile(/tmp/multipartBody1927568217538627436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529728035,"filename":"image_03072025_06_55_01_2137.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/30781a6f98550e215ba4fc2894eabcdc.jpg","text":"TemporaryFile(/tmp/multipartBody2482906954426108793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529728035,"filename":"image_03072025_06_58_01_3940.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/082193b53335df6e451229531436c52b.jpg","text":"TemporaryFile(/tmp/multipartBody3139923136790714837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529728035,"filename":"image_03072025_06_56_01_3598.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/50aacca974f333479f7cb18218a966f7.jpg","text":"TemporaryFile(/tmp/multipartBody4680793316332534564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529728035,"filename":"image_03072025_10_00_01_5916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/29e4846a0ac1f5d3a268550ff6932602.jpg","text":"TemporaryFile(/tmp/multipartBody3467697335196146291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529728035,"filename":"image_03072025_09_58_01_6668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370377559","file1":"1370377545","file0":"1370377534","file4":"1370377621","file5":"1370377637","file3":"1370377608"},"map_files_photo_id_array":[{"photo_id":"1370377637","filename":"file5"},{"photo_id":"1370377559","filename":"file2"},{"photo_id":"1370377621","filename":"file4"},{"photo_id":"1370377545","filename":"file1"},{"photo_id":"1370377534","filename":"file0"},{"photo_id":"1370377608","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370377608":["hashtag1","hashtag2"]},{"1370377637":["hashtag1","hashtag2"]},{"1370377559":["hashtag1","hashtag2"]},{"1370377621":["hashtag1","hashtag2"]},{"1370377534":["hashtag1","hashtag2"]},{"1370377545":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370377608, 1370377637, 1370377559, 1370377621, 1370377534, 1370377545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.33366012573242 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:03:03.074992
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/02/image_03072025_10_02_01_9985.jpg', 2), ('/home/pi/Desktop/images/03072025/10/01/image_03072025_10_01_01_5731.jpg', 2), ('/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg', 2), ('/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg', 2), ('/home/pi/Desktop/images/03072025/06/50/image_03072025_06_50_01_6440.jpg', 2), ('/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/02/image_03072025_10_02_01_9985.jpg', '/home/pi/Desktop/images/03072025/10/01/image_03072025_10_01_01_5731.jpg', '/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg', '/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg', '/home/pi/Desktop/images/03072025/06/50/image_03072025_06_50_01_6440.jpg', '/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/02/image_03072025_10_02_01_9985.jpg
/home/pi/Desktop/images/03072025/10/01/image_03072025_10_01_01_5731.jpg
/home/pi/Desktop/images/03072025/06/54/image_03072025_06_54_02_1976.jpg
/home/pi/Desktop/images/03072025/06/53/image_03072025_06_53_01_8316.jpg
/home/pi/Desktop/images/03072025/06/50/image_03072025_06_50_01_6440.jpg
/home/pi/Desktop/images/03072025/06/47/image_03072025_06_47_02_0081.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370378222","1370378296","1370378278","1370378248","1370378189","1370378147"],"photo_ids_order":["1370378147","1370378189","1370378222","1370378248","1370378278","1370378296"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f765c1e8b7aadd4282d9332aae3fe0fb.jpg","text":"TemporaryFile(/tmp/multipartBody4253983346998112106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529847502,"filename":"image_03072025_06_54_02_1976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/390e798fbe786bc946ee58604b456f89.jpg","text":"TemporaryFile(/tmp/multipartBody7048832225068166214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529847502,"filename":"image_03072025_06_47_02_0081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/0a3d1eab5fd82dcfd06872b3fd9efe9f.jpg","text":"TemporaryFile(/tmp/multipartBody9127094812448712485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529847502,"filename":"image_03072025_06_50_01_6440.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/34c31ff769553914500619e32bdf0c0a.jpg","text":"TemporaryFile(/tmp/multipartBody3260108071766340425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529847502,"filename":"image_03072025_06_53_01_8316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/c1cc26fc63c165cc4d5b293385266e73.jpg","text":"TemporaryFile(/tmp/multipartBody1421890082717792313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529847502,"filename":"image_03072025_10_01_01_5731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/0b274acd5a50b4dc244e17efb9af8ff8.jpg","text":"TemporaryFile(/tmp/multipartBody2370362424219447469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529847502,"filename":"image_03072025_10_02_01_9985.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370378222","file1":"1370378189","file0":"1370378147","file4":"1370378278","file5":"1370378296","file3":"1370378248"},"map_files_photo_id_array":[{"photo_id":"1370378296","filename":"file5"},{"photo_id":"1370378222","filename":"file2"},{"photo_id":"1370378278","filename":"file4"},{"photo_id":"1370378189","filename":"file1"},{"photo_id":"1370378147","filename":"file0"},{"photo_id":"1370378248","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370378222":["hashtag1","hashtag2"]},{"1370378296":["hashtag1","hashtag2"]},{"1370378278":["hashtag1","hashtag2"]},{"1370378248":["hashtag1","hashtag2"]},{"1370378189":["hashtag1","hashtag2"]},{"1370378147":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370378222, 1370378296, 1370378278, 1370378248, 1370378189, 1370378147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.831836223602295 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:05:04.003476
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/04/image_03072025_10_04_01_2953.jpg', 2), ('/home/pi/Desktop/images/03072025/10/03/image_03072025_10_03_01_6631.jpg', 2), ('/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', 2), ('/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', 2), ('/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', 2), ('/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/04/image_03072025_10_04_01_2953.jpg', '/home/pi/Desktop/images/03072025/10/03/image_03072025_10_03_01_6631.jpg', '/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg', '/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg', '/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg', '/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/04/image_03072025_10_04_01_2953.jpg
/home/pi/Desktop/images/03072025/10/03/image_03072025_10_03_01_6631.jpg
/home/pi/Desktop/images/03072025/06/46/image_03072025_06_46_01_9215.jpg
/home/pi/Desktop/images/03072025/06/45/image_03072025_06_45_01_5229.jpg
/home/pi/Desktop/images/03072025/06/42/image_03072025_06_42_01_4123.jpg
/home/pi/Desktop/images/03072025/06/33/image_03072025_06_33_01_3150.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370378695","1370378572","1370378749","1370378799","1370378679","1370378703"],"photo_ids_order":["1370378572","1370378679","1370378695","1370378703","1370378749","1370378799"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5d82037cb453f556d395857d70ae4882.jpg","text":"TemporaryFile(/tmp/multipartBody68215589716994370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529968564,"filename":"image_03072025_06_46_01_9215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ef269461f7d6d9fe820dab2854f1d5f5.jpg","text":"TemporaryFile(/tmp/multipartBody899870171804609385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529968564,"filename":"image_03072025_10_04_01_2953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ac731fc39cba8b22ae146bb064b5a2b3.jpg","text":"TemporaryFile(/tmp/multipartBody3785962572973468762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529968564,"filename":"image_03072025_06_42_01_4123.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/0ba66d2499d6e933a29202de8bed0f3d.jpg","text":"TemporaryFile(/tmp/multipartBody8256003491803063818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529968564,"filename":"image_03072025_06_33_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/7/3/1bb96e1e24592c58d98b7eb7b54bfb2e.jpg","text":"TemporaryFile(/tmp/multipartBody7623072043513230447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529968564,"filename":"image_03072025_10_03_01_6631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/dda65bac05274b381d7000d245ce7347.jpg","text":"TemporaryFile(/tmp/multipartBody196433216299907152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751529968564,"filename":"image_03072025_06_45_01_5229.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370378695","file1":"1370378679","file0":"1370378572","file4":"1370378749","file5":"1370378799","file3":"1370378703"},"map_files_photo_id_array":[{"photo_id":"1370378799","filename":"file5"},{"photo_id":"1370378695","filename":"file2"},{"photo_id":"1370378749","filename":"file4"},{"photo_id":"1370378679","filename":"file1"},{"photo_id":"1370378572","filename":"file0"},{"photo_id":"1370378703","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370378695":["hashtag1","hashtag2"]},{"1370378572":["hashtag1","hashtag2"]},{"1370378749":["hashtag1","hashtag2"]},{"1370378799":["hashtag1","hashtag2"]},{"1370378679":["hashtag1","hashtag2"]},{"1370378703":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370378695, 1370378572, 1370378749, 1370378799, 1370378679, 1370378703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.421470403671265 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:07:03.365092
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/06/image_03072025_10_06_01_8411.jpg', 2), ('/home/pi/Desktop/images/03072025/10/05/image_03072025_10_05_01_3422.jpg', 2), ('/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', 2), ('/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', 2), ('/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', 2), ('/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/06/image_03072025_10_06_01_8411.jpg', '/home/pi/Desktop/images/03072025/10/05/image_03072025_10_05_01_3422.jpg', '/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg', '/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg', '/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg', '/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/06/image_03072025_10_06_01_8411.jpg
/home/pi/Desktop/images/03072025/10/05/image_03072025_10_05_01_3422.jpg
/home/pi/Desktop/images/03072025/06/32/image_03072025_06_32_01_4306.jpg
/home/pi/Desktop/images/03072025/06/31/image_03072025_06_31_02_1106.jpg
/home/pi/Desktop/images/03072025/06/30/image_03072025_06_30_01_8944.jpg
/home/pi/Desktop/images/03072025/06/28/image_03072025_06_28_01_4799.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370379529","1370379678","1370379622","1370379561","1370379837","1370379744"],"photo_ids_order":["1370379529","1370379561","1370379622","1370379678","1370379744","1370379837"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/032829ed7dd494d0dc8f21289236b536.jpg","text":"TemporaryFile(/tmp/multipartBody864958382527836224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530087532,"filename":"image_03072025_10_06_01_8411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7d9678291bf83fcbaed930dc74a06d01.jpg","text":"TemporaryFile(/tmp/multipartBody8959520050659129145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530087532,"filename":"image_03072025_06_31_02_1106.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b89bb2acee1cbe837cf85039284659de.jpg","text":"TemporaryFile(/tmp/multipartBody7523846188927432920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530087532,"filename":"image_03072025_06_32_01_4306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/0911327c1fb46e3ffcafc9841f98332c.jpg","text":"TemporaryFile(/tmp/multipartBody8853209892149721544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530087532,"filename":"image_03072025_10_05_01_3422.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/acd0a0955fca31b42a9570cfa4058dcb.jpg","text":"TemporaryFile(/tmp/multipartBody8665362972368388042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530087532,"filename":"image_03072025_06_28_01_4799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b3fa9bd4d79ea6fed07d11d55e3b4395.jpg","text":"TemporaryFile(/tmp/multipartBody5605047759711006032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530087532,"filename":"image_03072025_06_30_01_8944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370379622","file1":"1370379561","file0":"1370379529","file4":"1370379744","file5":"1370379837","file3":"1370379678"},"map_files_photo_id_array":[{"photo_id":"1370379837","filename":"file5"},{"photo_id":"1370379622","filename":"file2"},{"photo_id":"1370379744","filename":"file4"},{"photo_id":"1370379561","filename":"file1"},{"photo_id":"1370379529","filename":"file0"},{"photo_id":"1370379678","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370379529":["hashtag1","hashtag2"]},{"1370379678":["hashtag1","hashtag2"]},{"1370379622":["hashtag1","hashtag2"]},{"1370379561":["hashtag1","hashtag2"]},{"1370379837":["hashtag1","hashtag2"]},{"1370379744":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370379529, 1370379678, 1370379622, 1370379561, 1370379837, 1370379744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.45404577255249 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:09:03.886718
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/08/image_03072025_10_08_01_4356.jpg', 2), ('/home/pi/Desktop/images/03072025/10/07/image_03072025_10_07_02_2229.jpg', 2), ('/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', 2), ('/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', 2), ('/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg', 2), ('/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/08/image_03072025_10_08_01_4356.jpg', '/home/pi/Desktop/images/03072025/10/07/image_03072025_10_07_02_2229.jpg', '/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg', '/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg', '/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg', '/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/08/image_03072025_10_08_01_4356.jpg
/home/pi/Desktop/images/03072025/10/07/image_03072025_10_07_02_2229.jpg
/home/pi/Desktop/images/03072025/06/27/image_03072025_06_27_01_7889.jpg
/home/pi/Desktop/images/03072025/06/24/image_03072025_06_24_02_0892.jpg
/home/pi/Desktop/images/03072025/06/22/image_03072025_06_22_01_3311.jpg
/home/pi/Desktop/images/03072025/06/20/image_03072025_06_20_02_0115.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370380502","1370380378","1370380459","1370380531","1370380397","1370380568"],"photo_ids_order":["1370380378","1370380397","1370380459","1370380502","1370380531","1370380568"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/a088f7b2c3d155c91f73c3310b4451db.jpg","text":"TemporaryFile(/tmp/multipartBody8818300762747170975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530208148,"filename":"image_03072025_06_24_02_0892.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2c269bd3d75ee5593ea257fd262d0296.jpg","text":"TemporaryFile(/tmp/multipartBody8868673950952128196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530208148,"filename":"image_03072025_10_08_01_4356.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/85f12ee397464f1519427249a961181d.jpg","text":"TemporaryFile(/tmp/multipartBody1394542405757890942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530208148,"filename":"image_03072025_06_27_01_7889.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/313060bae9a24bc12d89fe67df89293b.jpg","text":"TemporaryFile(/tmp/multipartBody4149843624030041989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530208148,"filename":"image_03072025_06_22_01_3311.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/aa22cd759f9ab51f1ad7d71e2ec6657f.jpg","text":"TemporaryFile(/tmp/multipartBody6294210826172494649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530208148,"filename":"image_03072025_10_07_02_2229.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/63185d9c2594100ffa2629e5e4fa0c0c.jpg","text":"TemporaryFile(/tmp/multipartBody2390569389235142558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530208148,"filename":"image_03072025_06_20_02_0115.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370380459","file1":"1370380397","file0":"1370380378","file4":"1370380531","file5":"1370380568","file3":"1370380502"},"map_files_photo_id_array":[{"photo_id":"1370380568","filename":"file5"},{"photo_id":"1370380459","filename":"file2"},{"photo_id":"1370380531","filename":"file4"},{"photo_id":"1370380397","filename":"file1"},{"photo_id":"1370380378","filename":"file0"},{"photo_id":"1370380502","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370380502":["hashtag1","hashtag2"]},{"1370380378":["hashtag1","hashtag2"]},{"1370380459":["hashtag1","hashtag2"]},{"1370380531":["hashtag1","hashtag2"]},{"1370380397":["hashtag1","hashtag2"]},{"1370380568":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370380502, 1370380378, 1370380459, 1370380531, 1370380397, 1370380568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.70176935195923 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:11:03.967670
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/10/image_03072025_10_10_02_1262.jpg', 2), ('/home/pi/Desktop/images/03072025/10/09/image_03072025_10_09_01_3425.jpg', 2), ('/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg', 2), ('/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', 2), ('/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', 2), ('/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/10/image_03072025_10_10_02_1262.jpg', '/home/pi/Desktop/images/03072025/10/09/image_03072025_10_09_01_3425.jpg', '/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg', '/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg', '/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg', '/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/10/image_03072025_10_10_02_1262.jpg
/home/pi/Desktop/images/03072025/10/09/image_03072025_10_09_01_3425.jpg
/home/pi/Desktop/images/03072025/06/19/image_03072025_06_19_01_8025.jpg
/home/pi/Desktop/images/03072025/06/17/image_03072025_06_17_01_2274.jpg
/home/pi/Desktop/images/03072025/06/16/image_03072025_06_16_02_1853.jpg
/home/pi/Desktop/images/03072025/06/15/image_03072025_06_15_01_4855.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370380768","1370380933","1370380924","1370380869","1370380827","1370380937"],"photo_ids_order":["1370380768","1370380827","1370380869","1370380924","1370380933","1370380937"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/dfe6b3c9a9440f4a402d259cac98f85c.jpg","text":"TemporaryFile(/tmp/multipartBody2575330072376429698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530328245,"filename":"image_03072025_10_10_02_1262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/03a484c6b732ecc633e4f977d5d446ef.jpg","text":"TemporaryFile(/tmp/multipartBody6838086548926840829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530328245,"filename":"image_03072025_06_16_02_1853.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/a62b92036cc7e25c513379ecf89052c2.jpg","text":"TemporaryFile(/tmp/multipartBody6936511278524880200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530328245,"filename":"image_03072025_06_17_01_2274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/18db62b5eec3932dd74c729a200f84ce.jpg","text":"TemporaryFile(/tmp/multipartBody5090760366688092428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530328245,"filename":"image_03072025_06_19_01_8025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/dd30f86afef660bc774b1442d640144a.jpg","text":"TemporaryFile(/tmp/multipartBody1136772861282470117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530328245,"filename":"image_03072025_10_09_01_3425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/c10495cf1967f50c607724c1c856510e.jpg","text":"TemporaryFile(/tmp/multipartBody4919039882641192561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530328245,"filename":"image_03072025_06_15_01_4855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370380869","file1":"1370380827","file0":"1370380768","file4":"1370380933","file5":"1370380937","file3":"1370380924"},"map_files_photo_id_array":[{"photo_id":"1370380937","filename":"file5"},{"photo_id":"1370380869","filename":"file2"},{"photo_id":"1370380933","filename":"file4"},{"photo_id":"1370380827","filename":"file1"},{"photo_id":"1370380768","filename":"file0"},{"photo_id":"1370380924","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370380768":["hashtag1","hashtag2"]},{"1370380933":["hashtag1","hashtag2"]},{"1370380924":["hashtag1","hashtag2"]},{"1370380869":["hashtag1","hashtag2"]},{"1370380827":["hashtag1","hashtag2"]},{"1370380937":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370380768, 1370380933, 1370380924, 1370380869, 1370380827, 1370380937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.85158085823059 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:13:03.401554
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/12/image_03072025_10_12_02_2342.jpg', 2), ('/home/pi/Desktop/images/03072025/10/11/image_03072025_10_11_01_8937.jpg', 2), ('/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg', 2), ('/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg', 2), ('/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg', 2), ('/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/12/image_03072025_10_12_02_2342.jpg', '/home/pi/Desktop/images/03072025/10/11/image_03072025_10_11_01_8937.jpg', '/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg', '/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg', '/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg', '/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/12/image_03072025_10_12_02_2342.jpg
/home/pi/Desktop/images/03072025/10/11/image_03072025_10_11_01_8937.jpg
/home/pi/Desktop/images/03072025/06/13/image_03072025_06_13_01_9747.jpg
/home/pi/Desktop/images/03072025/06/12/image_03072025_06_12_02_0274.jpg
/home/pi/Desktop/images/03072025/06/08/image_03072025_06_08_01_5634.jpg
/home/pi/Desktop/images/03072025/06/07/image_03072025_06_07_01_9982.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370381158","1370381209","1370381289","1370381151","1370381297","1370381264"],"photo_ids_order":["1370381151","1370381158","1370381209","1370381264","1370381289","1370381297"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/829577456db2fced4df157cd7e0a2b90.jpg","text":"TemporaryFile(/tmp/multipartBody5345562145869717467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530447986,"filename":"image_03072025_10_11_01_8937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/cad29f399114de65fa0fb46cbd116640.jpg","text":"TemporaryFile(/tmp/multipartBody1155868255562162743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530447986,"filename":"image_03072025_06_13_01_9747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d00898ce525d4b5b8c7aa466af369623.jpg","text":"TemporaryFile(/tmp/multipartBody6052199775172635685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530447986,"filename":"image_03072025_06_08_01_5634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/a1032b7e4f66545ef59f01d55e7b5645.jpg","text":"TemporaryFile(/tmp/multipartBody897607003254028873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530447986,"filename":"image_03072025_10_12_02_2342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/fa838d8496974cb71bfc1f01483613d4.jpg","text":"TemporaryFile(/tmp/multipartBody249117304227798456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530447986,"filename":"image_03072025_06_07_01_9982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/59ad89adedf0c23b80d11aabf423230b.jpg","text":"TemporaryFile(/tmp/multipartBody2014923819946929555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530447986,"filename":"image_03072025_06_12_02_0274.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370381209","file1":"1370381158","file0":"1370381151","file4":"1370381289","file5":"1370381297","file3":"1370381264"},"map_files_photo_id_array":[{"photo_id":"1370381297","filename":"file5"},{"photo_id":"1370381209","filename":"file2"},{"photo_id":"1370381289","filename":"file4"},{"photo_id":"1370381158","filename":"file1"},{"photo_id":"1370381151","filename":"file0"},{"photo_id":"1370381264","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370381158":["hashtag1","hashtag2"]},{"1370381209":["hashtag1","hashtag2"]},{"1370381289":["hashtag1","hashtag2"]},{"1370381151":["hashtag1","hashtag2"]},{"1370381297":["hashtag1","hashtag2"]},{"1370381264":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370381158, 1370381209, 1370381289, 1370381151, 1370381297, 1370381264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.43740630149841 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:15:03.092967
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/14/image_03072025_10_14_01_4076.jpg', 2), ('/home/pi/Desktop/images/03072025/10/13/image_03072025_10_13_02_0744.jpg', 2), ('/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', 2), ('/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', 2), ('/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg', 2), ('/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/14/image_03072025_10_14_01_4076.jpg', '/home/pi/Desktop/images/03072025/10/13/image_03072025_10_13_02_0744.jpg', '/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg', '/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg', '/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg', '/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/14/image_03072025_10_14_01_4076.jpg
/home/pi/Desktop/images/03072025/10/13/image_03072025_10_13_02_0744.jpg
/home/pi/Desktop/images/03072025/06/06/image_03072025_06_06_02_0747.jpg
/home/pi/Desktop/images/03072025/06/05/image_03072025_06_05_01_3958.jpg
/home/pi/Desktop/images/03072025/06/04/image_03072025_06_04_02_1773.jpg
/home/pi/Desktop/images/03072025/06/03/image_03072025_06_03_01_6399.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370381650","1370381556","1370381679","1370381643","1370381619","1370381597"],"photo_ids_order":["1370381556","1370381597","1370381619","1370381643","1370381650","1370381679"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5ed46108e91f78716ceae281e6129db1.jpg","text":"TemporaryFile(/tmp/multipartBody4007355153294812592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530567343,"filename":"image_03072025_06_04_02_1773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/67cd833be212f125bba54b6e4c8593e2.jpg","text":"TemporaryFile(/tmp/multipartBody6368240232313902836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530567343,"filename":"image_03072025_10_14_01_4076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/9e3bfc72297dc4ead6833a9910c27cfe.jpg","text":"TemporaryFile(/tmp/multipartBody6706578938775887170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530567343,"filename":"image_03072025_06_03_01_6399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/207672903dc5d56d5e813f39477e43ea.jpg","text":"TemporaryFile(/tmp/multipartBody3216459726577651967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530567343,"filename":"image_03072025_06_05_01_3958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/658d34a54de2a5b1f543f7b79aaf983e.jpg","text":"TemporaryFile(/tmp/multipartBody6789092309826590748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530567343,"filename":"image_03072025_06_06_02_0747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/e8fc7059dfa3fe7d63356bae93a6a8d8.jpg","text":"TemporaryFile(/tmp/multipartBody2203814617958877497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530567343,"filename":"image_03072025_10_13_02_0744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370381619","file1":"1370381597","file0":"1370381556","file4":"1370381650","file5":"1370381679","file3":"1370381643"},"map_files_photo_id_array":[{"photo_id":"1370381679","filename":"file5"},{"photo_id":"1370381619","filename":"file2"},{"photo_id":"1370381650","filename":"file4"},{"photo_id":"1370381597","filename":"file1"},{"photo_id":"1370381556","filename":"file0"},{"photo_id":"1370381643","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370381650":["hashtag1","hashtag2"]},{"1370381556":["hashtag1","hashtag2"]},{"1370381679":["hashtag1","hashtag2"]},{"1370381643":["hashtag1","hashtag2"]},{"1370381619":["hashtag1","hashtag2"]},{"1370381597":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370381650, 1370381556, 1370381679, 1370381643, 1370381619, 1370381597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.850054025650024 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:17:03.611435
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/15/image_03072025_10_15_01_6995.jpg', 2), ('/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg', 2), ('/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg', 2), ('/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg', 2), ('/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg', 2), ('/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/15/image_03072025_10_15_01_6995.jpg', '/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg', '/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg', '/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg', '/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg', '/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/15/image_03072025_10_15_01_6995.jpg
/home/pi/Desktop/images/03072025/06/02/image_03072025_06_02_02_0956.jpg
/home/pi/Desktop/images/03072025/06/00/image_03072025_06_00_02_1554.jpg
/home/pi/Desktop/images/03072025/05/58/image_03072025_05_58_01_6390.jpg
/home/pi/Desktop/images/03072025/05/54/image_03072025_05_54_01_6876.jpg
/home/pi/Desktop/images/03072025/05/52/image_03072025_05_52_02_0618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370382387","1370382336","1370382204","1370382269","1370382248","1370382235"],"photo_ids_order":["1370382204","1370382235","1370382248","1370382269","1370382336","1370382387"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/fd8ac1149f58320a8e76cc5ce7d4e566.jpg","text":"TemporaryFile(/tmp/multipartBody6118817988516214001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530688380,"filename":"image_03072025_05_52_02_0618.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f00700b04a5733ff8d98e12cd4c99ace.jpg","text":"TemporaryFile(/tmp/multipartBody5087220557790360396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530688380,"filename":"image_03072025_05_54_01_6876.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f8e711bcecfd3a7388fcb61e61876d10.jpg","text":"TemporaryFile(/tmp/multipartBody5631105871570576630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530688380,"filename":"image_03072025_10_15_01_6995.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/0ec8b4288e7b388480db96dcb91f8ace.jpg","text":"TemporaryFile(/tmp/multipartBody4945230625551318298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530688380,"filename":"image_03072025_05_58_01_6390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/dfea027512ff787e2eab3af992e09f11.jpg","text":"TemporaryFile(/tmp/multipartBody8852831376875549150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530688380,"filename":"image_03072025_06_00_02_1554.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/353a0ecd3c1513bdbf8205b6849bc4ad.jpg","text":"TemporaryFile(/tmp/multipartBody6398426351876221034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530688380,"filename":"image_03072025_06_02_02_0956.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370382248","file1":"1370382235","file0":"1370382204","file4":"1370382336","file5":"1370382387","file3":"1370382269"},"map_files_photo_id_array":[{"photo_id":"1370382387","filename":"file5"},{"photo_id":"1370382248","filename":"file2"},{"photo_id":"1370382336","filename":"file4"},{"photo_id":"1370382235","filename":"file1"},{"photo_id":"1370382204","filename":"file0"},{"photo_id":"1370382269","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370382387":["hashtag1","hashtag2"]},{"1370382336":["hashtag1","hashtag2"]},{"1370382204":["hashtag1","hashtag2"]},{"1370382269":["hashtag1","hashtag2"]},{"1370382248":["hashtag1","hashtag2"]},{"1370382235":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370382387, 1370382336, 1370382204, 1370382269, 1370382248, 1370382235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.99327492713928 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:19:03.429044
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/18/image_03072025_10_18_01_6632.jpg', 2), ('/home/pi/Desktop/images/03072025/10/16/image_03072025_10_16_01_3151.jpg', 2), ('/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', 2), ('/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', 2), ('/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', 2), ('/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/18/image_03072025_10_18_01_6632.jpg', '/home/pi/Desktop/images/03072025/10/16/image_03072025_10_16_01_3151.jpg', '/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg', '/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg', '/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg', '/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/18/image_03072025_10_18_01_6632.jpg
/home/pi/Desktop/images/03072025/10/16/image_03072025_10_16_01_3151.jpg
/home/pi/Desktop/images/03072025/05/51/image_03072025_05_51_01_7894.jpg
/home/pi/Desktop/images/03072025/05/50/image_03072025_05_50_01_5626.jpg
/home/pi/Desktop/images/03072025/05/49/image_03072025_05_49_01_3642.jpg
/home/pi/Desktop/images/03072025/05/48/image_03072025_05_48_02_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370382582","1370382636","1370382536","1370382577","1370382571","1370382559"],"photo_ids_order":["1370382536","1370382559","1370382571","1370382577","1370382582","1370382636"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b1d1cad18a562b6783c59295b0b6c253.jpg","text":"TemporaryFile(/tmp/multipartBody8021609650222978601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530807702,"filename":"image_03072025_05_49_01_3642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/adcbfdde83f4fb10cb63f7fc624da32d.jpg","text":"TemporaryFile(/tmp/multipartBody7228381562182499385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530807702,"filename":"image_03072025_05_48_02_2711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/91c474b1f0a058af9a20691cf2cc15c6.jpg","text":"TemporaryFile(/tmp/multipartBody2211423030720273622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530807702,"filename":"image_03072025_10_18_01_6632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/9ec2058771632985e63e1adc8d0ba986.jpg","text":"TemporaryFile(/tmp/multipartBody1536192183643074804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530807702,"filename":"image_03072025_05_50_01_5626.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/795624da9770de37c094650590f7753f.jpg","text":"TemporaryFile(/tmp/multipartBody8345472827311098556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530807702,"filename":"image_03072025_05_51_01_7894.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/58ae63b13998881e90d92fdf3bb6e432.jpg","text":"TemporaryFile(/tmp/multipartBody2153487327855791015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530807702,"filename":"image_03072025_10_16_01_3151.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370382571","file1":"1370382559","file0":"1370382536","file4":"1370382582","file5":"1370382636","file3":"1370382577"},"map_files_photo_id_array":[{"photo_id":"1370382636","filename":"file5"},{"photo_id":"1370382571","filename":"file2"},{"photo_id":"1370382582","filename":"file4"},{"photo_id":"1370382559","filename":"file1"},{"photo_id":"1370382536","filename":"file0"},{"photo_id":"1370382577","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370382582":["hashtag1","hashtag2"]},{"1370382636":["hashtag1","hashtag2"]},{"1370382536":["hashtag1","hashtag2"]},{"1370382577":["hashtag1","hashtag2"]},{"1370382571":["hashtag1","hashtag2"]},{"1370382559":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370382582, 1370382636, 1370382536, 1370382577, 1370382571, 1370382559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.1137056350708 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:21:03.621638
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/20/image_03072025_10_20_01_4708.jpg', 2), ('/home/pi/Desktop/images/03072025/10/19/image_03072025_10_19_01_6538.jpg', 2), ('/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg', 2), ('/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg', 2), ('/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg', 2), ('/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/20/image_03072025_10_20_01_4708.jpg', '/home/pi/Desktop/images/03072025/10/19/image_03072025_10_19_01_6538.jpg', '/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg', '/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg', '/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg', '/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/20/image_03072025_10_20_01_4708.jpg
/home/pi/Desktop/images/03072025/10/19/image_03072025_10_19_01_6538.jpg
/home/pi/Desktop/images/03072025/05/47/image_03072025_05_47_01_7179.jpg
/home/pi/Desktop/images/03072025/05/46/image_03072025_05_46_02_1942.jpg
/home/pi/Desktop/images/03072025/05/42/image_03072025_05_42_02_2076.jpg
/home/pi/Desktop/images/03072025/05/31/image_03072025_05_31_02_1789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370383122","1370383268","1370383112","1370383159","1370383213","1370383300"],"photo_ids_order":["1370383112","1370383122","1370383159","1370383213","1370383268","1370383300"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/023b52959ae1ac25f61303e71ba81afb.jpg","text":"TemporaryFile(/tmp/multipartBody2227572516380589765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530927928,"filename":"image_03072025_10_19_01_6538.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/39b0055ae2e31c3cc216f84503bf1012.jpg","text":"TemporaryFile(/tmp/multipartBody8970935249178473253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530927928,"filename":"image_03072025_05_42_02_2076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/da23c7e1db053cf97baf86e3a3fb2ca9.jpg","text":"TemporaryFile(/tmp/multipartBody7843500483462368254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530927928,"filename":"image_03072025_10_20_01_4708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/077db902069ef02df75b1d1d97954e60.jpg","text":"TemporaryFile(/tmp/multipartBody4640853637752179383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530927928,"filename":"image_03072025_05_47_01_7179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f014f52bf2cd1f2983c32a17ae691c48.jpg","text":"TemporaryFile(/tmp/multipartBody1948064068502067856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530927928,"filename":"image_03072025_05_46_02_1942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ad40adae70f99e639f2d105fa9f1e097.jpg","text":"TemporaryFile(/tmp/multipartBody2958974651212746617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751530927928,"filename":"image_03072025_05_31_02_1789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370383159","file1":"1370383122","file0":"1370383112","file4":"1370383268","file5":"1370383300","file3":"1370383213"},"map_files_photo_id_array":[{"photo_id":"1370383300","filename":"file5"},{"photo_id":"1370383159","filename":"file2"},{"photo_id":"1370383268","filename":"file4"},{"photo_id":"1370383122","filename":"file1"},{"photo_id":"1370383112","filename":"file0"},{"photo_id":"1370383213","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370383122":["hashtag1","hashtag2"]},{"1370383268":["hashtag1","hashtag2"]},{"1370383112":["hashtag1","hashtag2"]},{"1370383159":["hashtag1","hashtag2"]},{"1370383213":["hashtag1","hashtag2"]},{"1370383300":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370383122, 1370383268, 1370383112, 1370383159, 1370383213, 1370383300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.57425904273987 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:23:04.482984
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/21/image_03072025_10_21_01_5742.jpg', 2), ('/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', 2), ('/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/21/image_03072025_10_21_01_5742.jpg', '/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg', '/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg', '/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/21/image_03072025_10_21_01_5742.jpg
/home/pi/Desktop/images/03072025/05/30/image_03072025_05_30_01_8662.jpg
/home/pi/Desktop/images/03072025/05/28/image_03072025_05_28_01_7646.jpg
/home/pi/Desktop/images/03072025/05/21/image_03072025_05_21_02_1898.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370383473","1370383493","1370383487","1370383465"],"photo_ids_order":["1370383465","1370383473","1370383487","1370383493"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/df8864aecf7fdf82208b66191e4fcbdf.jpg","text":"TemporaryFile(/tmp/multipartBody2636948123532756525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751531047804,"filename":"image_03072025_05_30_01_8662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/6ebb4d1cf440b045a523c6c66f59eb07.jpg","text":"TemporaryFile(/tmp/multipartBody4912867556781515725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751531047804,"filename":"image_03072025_05_21_02_1898.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7c06bb2bc792ee7ace351e16063a3a1c.jpg","text":"TemporaryFile(/tmp/multipartBody4058735849074704451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751531047804,"filename":"image_03072025_05_28_01_7646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/20d092513a841c4ef96782055f78673e.jpg","text":"TemporaryFile(/tmp/multipartBody916813275576287413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751531047804,"filename":"image_03072025_10_21_01_5742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370383487","file1":"1370383473","file0":"1370383465","file3":"1370383493"},"map_files_photo_id_array":[{"photo_id":"1370383487","filename":"file2"},{"photo_id":"1370383473","filename":"file1"},{"photo_id":"1370383465","filename":"file0"},{"photo_id":"1370383493","filename":"file3"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370383473":["hashtag1","hashtag2"]},{"1370383493":["hashtag1","hashtag2"]},{"1370383487":["hashtag1","hashtag2"]},{"1370383465":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370383473, 1370383493, 1370383487, 1370383465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.48387837409973 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:24:03.312953
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/23/image_03072025_10_23_01_7255.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/23/image_03072025_10_23_01_7255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/23/image_03072025_10_23_01_7255.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370383551"],"photo_id":"1370383551","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/506d06916c38a174c8f29ea4b0c4df9c.jpg","text":"TemporaryFile(/tmp/multipartBody5172609015342851659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751531104463,"filename":"image_03072025_10_23_01_7255.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370383551"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370383551"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.317298412322998 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:25:06.239755
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/24/image_03072025_10_24_02_0568.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/24/image_03072025_10_24_02_0568.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/24/image_03072025_10_24_02_0568.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370383711"],"photo_id":"1370383711","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/9f31d9d6de0426c18a4ecec43fb1e5ee.jpg","text":"TemporaryFile(/tmp/multipartBody7033085605671099189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751531168076,"filename":"image_03072025_10_24_02_0568.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370383711"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370383711"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.567492485046387 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:26:04.065609
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/25/image_03072025_10_25_01_6845.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/25/image_03072025_10_25_01_6845.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/25/image_03072025_10_25_01_6845.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370383877"],"photo_id":"1370383877","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ae90b73344aa81ae4be19513289a920c.jpg","text":"TemporaryFile(/tmp/multipartBody1090159360471757932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751531225351,"filename":"image_03072025_10_25_01_6845.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370383877"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370383877"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.04292130470276 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:27:03.522605
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/26/image_03072025_10_26_01_5553.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/26/image_03072025_10_26_01_5553.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/26/image_03072025_10_26_01_5553.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370384244"],"photo_id":"1370384244","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7dceb498b5b513d8770e0aae31bba92e.jpg","text":"TemporaryFile(/tmp/multipartBody4674943225177068838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751531284709,"filename":"image_03072025_10_26_01_5553.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370384244"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370384244"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.436023473739624 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:28:03.218637
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/27/image_03072025_10_27_01_9872.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/27/image_03072025_10_27_01_9872.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/27/image_03072025_10_27_01_9872.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7888212203979492 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:29:04.226104
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 3 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/30/image_03072025_10_30_02_2575.jpg', 2), ('/home/pi/Desktop/images/03072025/10/28/image_03072025_10_28_01_8803.jpg', 2), ('/home/pi/Desktop/images/03072025/10/27/image_03072025_10_27_01_9872.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/28/image_03072025_10_28_01_8803.jpg', '/home/pi/Desktop/images/03072025/10/27/image_03072025_10_27_01_9872.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/28/image_03072025_10_28_01_8803.jpg
/home/pi/Desktop/images/03072025/10/27/image_03072025_10_27_01_9872.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6807403564453125 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/03072025/10/30/image_03072025_10_30_02_2575.jpg'],)
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:30:02.916620
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/28/image_03072025_10_28_01_8803.jpg', 2), ('/home/pi/Desktop/images/03072025/10/27/image_03072025_10_27_01_9872.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/28/image_03072025_10_28_01_8803.jpg', '/home/pi/Desktop/images/03072025/10/27/image_03072025_10_27_01_9872.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/28/image_03072025_10_28_01_8803.jpg
/home/pi/Desktop/images/03072025/10/27/image_03072025_10_27_01_9872.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370384765","1370384775"],"photo_ids_order":["1370384765","1370384775"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b6e985d1e63ed29c2d1241be40abeae1.jpg","text":"TemporaryFile(/tmp/multipartBody5260390788459578744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751531464537,"filename":"image_03072025_10_28_01_8803.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/238472c14763c8b0a3762e220a36736c.jpg","text":"TemporaryFile(/tmp/multipartBody7117402847299844936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751531464537,"filename":"image_03072025_10_27_01_9872.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370384775","file0":"1370384765"},"map_files_photo_id_array":[{"photo_id":"1370384775","filename":"file1"},{"photo_id":"1370384765","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370384765":["hashtag1","hashtag2"]},{"1370384775":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370384765, 1370384775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 34.23100781440735 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:31:03.993763
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/29/image_03072025_10_29_01_8008.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/29/image_03072025_10_29_01_8008.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/29/image_03072025_10_29_01_8008.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370384824"],"photo_id":"1370384824","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/09c17470fe75f46c2ee371b74451d996.jpg","text":"TemporaryFile(/tmp/multipartBody2100824097787848046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751531525243,"filename":"image_03072025_10_29_01_8008.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370384824"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370384824"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.05326533317566 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:32:03.283143
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/31/image_03072025_10_31_01_5084.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/31/image_03072025_10_31_01_5084.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/31/image_03072025_10_31_01_5084.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370385015"],"photo_id":"1370385015","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ebdb93b066299084939ee7936c6b4bac.jpg","text":"TemporaryFile(/tmp/multipartBody6383902785412324429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751531584414,"filename":"image_03072025_10_31_01_5084.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370385015"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370385015"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.492810010910034 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:33:03.169513
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/32/image_03072025_10_32_01_8645.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/32/image_03072025_10_32_01_8645.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/32/image_03072025_10_32_01_8645.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370385769"],"photo_id":"1370385769","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/98d4e99d877f9ac7299ede505ac1c46c.jpg","text":"TemporaryFile(/tmp/multipartBody1823818608868000877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751531644363,"filename":"image_03072025_10_32_01_8645.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370385769"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370385769"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.05808186531067 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:34:03.400033
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/33/image_03072025_10_33_01_8988.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/33/image_03072025_10_33_01_8988.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/33/image_03072025_10_33_01_8988.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370386097"],"photo_id":"1370386097","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/9fbf900fc7feabb119c5d9bd3793c5c7.jpg","text":"TemporaryFile(/tmp/multipartBody5156359499443452100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751531704519,"filename":"image_03072025_10_33_01_8988.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370386097"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370386097"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.210346698760986 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:35:03.258460
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/34/image_03072025_10_34_01_3189.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/34/image_03072025_10_34_01_3189.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/34/image_03072025_10_34_01_3189.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370386380"],"photo_id":"1370386380","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d2ca27c8e3c36a544ca1ff92a911efcb.jpg","text":"TemporaryFile(/tmp/multipartBody4163537197615420434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751531764466,"filename":"image_03072025_10_34_01_3189.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370386380"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370386380"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.803314208984375 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:36:02.646913
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/35/image_03072025_10_35_02_0646.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/35/image_03072025_10_35_02_0646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/35/image_03072025_10_35_02_0646.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370386856"],"photo_id":"1370386856","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/22ac8e0855f9f59423f5ec1f412e7f66.jpg","text":"TemporaryFile(/tmp/multipartBody7944053395075702316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751531823804,"filename":"image_03072025_10_35_02_0646.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370386856"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370386856"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.156474113464355 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:37:03.524015
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/36/image_03072025_10_36_01_3335.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/36/image_03072025_10_36_01_3335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/36/image_03072025_10_36_01_3335.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370387118"],"photo_id":"1370387118","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/01ebc484be8fe31ab1ad5ef5dd94eb5e.jpg","text":"TemporaryFile(/tmp/multipartBody3946413367505744878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751531884736,"filename":"image_03072025_10_36_01_3335.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370387118"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370387118"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 20.012078762054443 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:38:02.944277
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/37/image_03072025_10_37_01_3174.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/37/image_03072025_10_37_01_3174.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/37/image_03072025_10_37_01_3174.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7683732509613037 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:39:03.858558
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/38/image_03072025_10_38_01_7832.jpg', 2), ('/home/pi/Desktop/images/03072025/10/37/image_03072025_10_37_01_3174.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/38/image_03072025_10_38_01_7832.jpg', '/home/pi/Desktop/images/03072025/10/37/image_03072025_10_37_01_3174.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/38/image_03072025_10_38_01_7832.jpg
/home/pi/Desktop/images/03072025/10/37/image_03072025_10_37_01_3174.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370387350","1370387404"],"photo_ids_order":["1370387350","1370387404"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/e680a4adb34f9cc634ad9572d5f7a598.jpg","text":"TemporaryFile(/tmp/multipartBody8206423589481436958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751532005501,"filename":"image_03072025_10_38_01_7832.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/28353c92ed146bdbb3e7cd683e51548b.jpg","text":"TemporaryFile(/tmp/multipartBody4380302044811603519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751532005501,"filename":"image_03072025_10_37_01_3174.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370387404","file0":"1370387350"},"map_files_photo_id_array":[{"photo_id":"1370387404","filename":"file1"},{"photo_id":"1370387350","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370387350":["hashtag1","hashtag2"]},{"1370387404":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370387350, 1370387404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.80716896057129 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:40:03.526498
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/39/image_03072025_10_39_01_5077.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/39/image_03072025_10_39_01_5077.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/39/image_03072025_10_39_01_5077.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370387598"],"photo_id":"1370387598","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/1605bf78b1c3a72aca9a3a9422b3bf0d.jpg","text":"TemporaryFile(/tmp/multipartBody2005457460850641838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751532064693,"filename":"image_03072025_10_39_01_5077.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370387598"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370387598"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.619736909866333 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:41:04.241624
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/40/image_03072025_10_40_01_9014.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/40/image_03072025_10_40_01_9014.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/40/image_03072025_10_40_01_9014.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370387711"],"photo_id":"1370387711","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ca8ead655868fde59917ea88d4227589.jpg","text":"TemporaryFile(/tmp/multipartBody1898972528298529710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751532125534,"filename":"image_03072025_10_40_01_9014.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370387711"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370387711"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.420639514923096 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:42:02.847341
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/41/image_03072025_10_41_02_1874.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/41/image_03072025_10_41_02_1874.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/41/image_03072025_10_41_02_1874.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370387838"],"photo_id":"1370387838","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b9d5f8b616591f722e966052839599a6.jpg","text":"TemporaryFile(/tmp/multipartBody2836672082588333534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751532184015,"filename":"image_03072025_10_41_02_1874.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370387838"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370387838"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.20382571220398 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:43:03.653500
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/42/image_03072025_10_42_01_3214.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/42/image_03072025_10_42_01_3214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/42/image_03072025_10_42_01_3214.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370387908"],"photo_id":"1370387908","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/a172d72534e4d0b0277f69531a9a45a5.jpg","text":"TemporaryFile(/tmp/multipartBody3920285852100069317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751532244865,"filename":"image_03072025_10_42_01_3214.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370387908"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370387908"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.736909866333008 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:44:02.934819
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/43/image_03072025_10_43_01_4815.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/43/image_03072025_10_43_01_4815.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/43/image_03072025_10_43_01_4815.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370387959"],"photo_id":"1370387959","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d37c9965873f3ab92c6a86c84bd6ca52.jpg","text":"TemporaryFile(/tmp/multipartBody3730243095377367046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751532304075,"filename":"image_03072025_10_43_01_4815.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370387959"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370387959"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.80286431312561 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:45:04.136973
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/44/image_03072025_10_44_01_6984.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/44/image_03072025_10_44_01_6984.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/44/image_03072025_10_44_01_6984.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370388012"],"photo_id":"1370388012","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d420ae925235562e73dd576c3b60bc2a.jpg","text":"TemporaryFile(/tmp/multipartBody7432010936284414517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751532365383,"filename":"image_03072025_10_44_01_6984.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370388012"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370388012"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.37667942047119 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:46:03.322624
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/45/image_03072025_10_45_01_5544.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/45/image_03072025_10_45_01_5544.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/45/image_03072025_10_45_01_5544.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370388106"],"photo_id":"1370388106","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/82524e1a928fcc5138a584d2aec3ed54.jpg","text":"TemporaryFile(/tmp/multipartBody962256185297715606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751532424458,"filename":"image_03072025_10_45_01_5544.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370388106"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370388106"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 23.33038592338562 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:47:03.197157
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/46/image_03072025_10_46_02_1110.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/46/image_03072025_10_46_02_1110.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/46/image_03072025_10_46_02_1110.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370388246"],"photo_id":"1370388246","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/39c2a11ddd4b3600e07778b18e649fc8.jpg","text":"TemporaryFile(/tmp/multipartBody8546850319578251051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751532484769,"filename":"image_03072025_10_46_02_1110.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370388246"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370388246"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 21.749517679214478 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:48:02.923013
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/47/image_03072025_10_47_01_9476.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/47/image_03072025_10_47_01_9476.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/47/image_03072025_10_47_01_9476.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370388278"],"photo_id":"1370388278","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/c3da0db3452509f530ea355507bbef7b.jpg","text":"TemporaryFile(/tmp/multipartBody945983516327434600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751532544072,"filename":"image_03072025_10_47_01_9476.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370388278"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370388278"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.983023405075073 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:49:03.622873
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/48/image_03072025_10_48_01_3796.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/48/image_03072025_10_48_01_3796.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/48/image_03072025_10_48_01_3796.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370388335"],"photo_id":"1370388335","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d3ccba1462aa490872f5e0d3c45a8871.jpg","text":"TemporaryFile(/tmp/multipartBody4690213480493641009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751532604859,"filename":"image_03072025_10_48_01_3796.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370388335"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370388335"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.61563467979431 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:50:02.593297
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/49/image_03072025_10_49_01_5886.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/49/image_03072025_10_49_01_5886.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/49/image_03072025_10_49_01_5886.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370388541"],"photo_id":"1370388541","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2c4c3a4dae81996d1b9dd633f181bdc7.jpg","text":"TemporaryFile(/tmp/multipartBody6357534183462503489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751532663735,"filename":"image_03072025_10_49_01_5886.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370388541"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370388541"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.658671140670776 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:51:03.290576
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:52:02.907394
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/51/image_03072025_10_51_01_2397.jpg', 2), ('/home/pi/Desktop/images/03072025/10/50/image_03072025_10_50_02_0423.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/51/image_03072025_10_51_01_2397.jpg', '/home/pi/Desktop/images/03072025/10/50/image_03072025_10_50_02_0423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/51/image_03072025_10_51_01_2397.jpg
/home/pi/Desktop/images/03072025/10/50/image_03072025_10_50_02_0423.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.188673973083496 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:53:03.358939
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/52/image_03072025_10_52_01_4377.jpg', 2), ('/home/pi/Desktop/images/03072025/10/51/image_03072025_10_51_01_2397.jpg', 2), ('/home/pi/Desktop/images/03072025/10/50/image_03072025_10_50_02_0423.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/52/image_03072025_10_52_01_4377.jpg', '/home/pi/Desktop/images/03072025/10/51/image_03072025_10_51_01_2397.jpg', '/home/pi/Desktop/images/03072025/10/50/image_03072025_10_50_02_0423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/52/image_03072025_10_52_01_4377.jpg
/home/pi/Desktop/images/03072025/10/51/image_03072025_10_51_01_2397.jpg
/home/pi/Desktop/images/03072025/10/50/image_03072025_10_50_02_0423.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370388768","1370388788","1370388779"],"photo_ids_order":["1370388768","1370388779","1370388788"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/c70b33013690ce6b538ff1843eca9126.jpg","text":"TemporaryFile(/tmp/multipartBody3608244094966586093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751532845440,"filename":"image_03072025_10_52_01_4377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/0b5c2e7700655255de56ee0a63d89cc7.jpg","text":"TemporaryFile(/tmp/multipartBody6087179495927568652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751532845440,"filename":"image_03072025_10_50_02_0423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/dc3abf46def9b6ce8517d5e117026722.jpg","text":"TemporaryFile(/tmp/multipartBody488090260592364686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751532845440,"filename":"image_03072025_10_51_01_2397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1370388788","file1":"1370388779","file0":"1370388768"},"map_files_photo_id_array":[{"photo_id":"1370388788","filename":"file2"},{"photo_id":"1370388779","filename":"file1"},{"photo_id":"1370388768","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370388768":["hashtag1","hashtag2"]},{"1370388788":["hashtag1","hashtag2"]},{"1370388779":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370388768, 1370388788, 1370388779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 41.43869876861572 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:54:02.676254
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/53/image_03072025_10_53_01_5185.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/53/image_03072025_10_53_01_5185.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/53/image_03072025_10_53_01_5185.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370388842"],"photo_id":"1370388842","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/228fc09ec91d4cef4ebff3fc30931a62.jpg","text":"TemporaryFile(/tmp/multipartBody3075320766640927197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751532903828,"filename":"image_03072025_10_53_01_5185.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370388842"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370388842"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.741823196411133 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:55:03.611243
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/54/image_03072025_10_54_01_5114.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/54/image_03072025_10_54_01_5114.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/54/image_03072025_10_54_01_5114.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370388878"],"photo_id":"1370388878","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/9c5197c8ebe9df6af5f82859131a7301.jpg","text":"TemporaryFile(/tmp/multipartBody6796973667020253460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751532964817,"filename":"image_03072025_10_54_01_5114.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370388878"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370388878"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.886459589004517 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:56:04.735586
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/55/image_03072025_10_55_01_3063.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/55/image_03072025_10_55_01_3063.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/55/image_03072025_10_55_01_3063.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370388955"],"photo_id":"1370388955","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/c672bfd44a12b987882c4246cf8ec385.jpg","text":"TemporaryFile(/tmp/multipartBody4008471663665212897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751533025949,"filename":"image_03072025_10_55_01_3063.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370388955"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370388955"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.065655946731567 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:57:03.488354
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/56/image_03072025_10_56_01_8545.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/56/image_03072025_10_56_01_8545.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/56/image_03072025_10_56_01_8545.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370389059"],"photo_id":"1370389059","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/3d3b1b80bc4b78310b1f8b8ba7726c78.jpg","text":"TemporaryFile(/tmp/multipartBody6830853627002734573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751533084676,"filename":"image_03072025_10_56_01_8545.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370389059"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370389059"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.72035050392151 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 10:59:03.149782
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/58/image_03072025_10_58_01_7380.jpg', 2), ('/home/pi/Desktop/images/03072025/10/57/image_03072025_10_57_02_0451.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/58/image_03072025_10_58_01_7380.jpg', '/home/pi/Desktop/images/03072025/10/57/image_03072025_10_57_02_0451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/58/image_03072025_10_58_01_7380.jpg
/home/pi/Desktop/images/03072025/10/57/image_03072025_10_57_02_0451.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370389914","1370390074"],"photo_ids_order":["1370389914","1370390074"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ca4b2294452a12a2279b0b27754c0586.jpg","text":"TemporaryFile(/tmp/multipartBody7713664800574501410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751533204799,"filename":"image_03072025_10_58_01_7380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/18ecad141c9129bffe13446d5c5aa1a7.jpg","text":"TemporaryFile(/tmp/multipartBody6424696008144957417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751533204799,"filename":"image_03072025_10_57_02_0451.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370390074","file0":"1370389914"},"map_files_photo_id_array":[{"photo_id":"1370390074","filename":"file1"},{"photo_id":"1370389914","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370389914":["hashtag1","hashtag2"]},{"1370390074":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370389914, 1370390074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 30.00643825531006 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:00:04.005226
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/10/59/image_03072025_10_59_02_0362.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/10/59/image_03072025_10_59_02_0362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/10/59/image_03072025_10_59_02_0362.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370390708"],"photo_id":"1370390708","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/912590f0f449589ead670865c36970b4.jpg","text":"TemporaryFile(/tmp/multipartBody3162369709067842167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751533265169,"filename":"image_03072025_10_59_02_0362.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370390708"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370390708"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.870387315750122 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:01:03.903985
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/00/image_03072025_11_00_01_3990.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/00/image_03072025_11_00_01_3990.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/00/image_03072025_11_00_01_3990.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370391303"],"photo_id":"1370391303","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/8e54fb646ee6e4b0dfa0d2b3612fe768.jpg","text":"TemporaryFile(/tmp/multipartBody3569432465889661854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751533325187,"filename":"image_03072025_11_00_01_3990.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370391303"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370391303"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 57.067532777786255 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:02:04.829730
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/01/image_03072025_11_01_01_7914.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/01/image_03072025_11_01_01_7914.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/01/image_03072025_11_01_01_7914.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370391641"],"photo_id":"1370391641","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ab37e209ef2cd6d367df60ddd9527a15.jpg","text":"TemporaryFile(/tmp/multipartBody8047870565887736867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751533386001,"filename":"image_03072025_11_01_01_7914.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370391641"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370391641"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.584468364715576 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:03:03.356487
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/02/image_03072025_11_02_02_1438.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/02/image_03072025_11_02_02_1438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/02/image_03072025_11_02_02_1438.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370392101"],"photo_id":"1370392101","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/c7be1064ae4c3053d968d73c4c37a215.jpg","text":"TemporaryFile(/tmp/multipartBody1146350399412438437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751533444563,"filename":"image_03072025_11_02_02_1438.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370392101"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370392101"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.679871320724487 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:04:03.731987
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/03/image_03072025_11_03_02_0638.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/03/image_03072025_11_03_02_0638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/03/image_03072025_11_03_02_0638.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370392317"],"photo_id":"1370392317","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5d9a909d46b437c6467063b20dd8cd4a.jpg","text":"TemporaryFile(/tmp/multipartBody353515593043099207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751533504905,"filename":"image_03072025_11_03_02_0638.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370392317"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370392317"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.217176914215088 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:05:04.026821
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/04/image_03072025_11_04_01_4968.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/04/image_03072025_11_04_01_4968.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/04/image_03072025_11_04_01_4968.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370392444"],"photo_id":"1370392444","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/c77180aeefb724e3b1cf0b909d6fcc1c.jpg","text":"TemporaryFile(/tmp/multipartBody6635981206127566918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751533565246,"filename":"image_03072025_11_04_01_4968.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370392444"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370392444"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.87487769126892 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:06:03.399423
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/05/image_03072025_11_05_02_1725.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/05/image_03072025_11_05_02_1725.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/05/image_03072025_11_05_02_1725.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370392495"],"photo_id":"1370392495","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/3502c05a7824eec1d2ef5283dd393b7b.jpg","text":"TemporaryFile(/tmp/multipartBody3027943866134638812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751533624570,"filename":"image_03072025_11_05_02_1725.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370392495"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370392495"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.116527557373047 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:07:03.410287
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/06/image_03072025_11_06_02_1450.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/06/image_03072025_11_06_02_1450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/06/image_03072025_11_06_02_1450.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370392812"],"photo_id":"1370392812","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/8f22e9c3e43bc5d5ffd96b40570e69ec.jpg","text":"TemporaryFile(/tmp/multipartBody6267390690929336710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751533684641,"filename":"image_03072025_11_06_02_1450.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370392812"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370392812"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 20.8410861492157 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:08:03.622615
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/07/image_03072025_11_07_02_0183.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/07/image_03072025_11_07_02_0183.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/07/image_03072025_11_07_02_0183.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370393127"],"photo_id":"1370393127","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/a1912c60403ad3aa8d060d224de508ab.jpg","text":"TemporaryFile(/tmp/multipartBody8841568221419746511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751533744839,"filename":"image_03072025_11_07_02_0183.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370393127"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370393127"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 20.184359312057495 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:09:05.043889
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/08/image_03072025_11_08_01_4341.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/08/image_03072025_11_08_01_4341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/08/image_03072025_11_08_01_4341.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370393448"],"photo_id":"1370393448","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/8e4616025bc9f1fe64c6feae26ce6dc2.jpg","text":"TemporaryFile(/tmp/multipartBody4725045799907637567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751533806336,"filename":"image_03072025_11_08_01_4341.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370393448"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370393448"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 31.14882779121399 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:10:03.370010
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/09/image_03072025_11_09_02_2795.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/09/image_03072025_11_09_02_2795.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/09/image_03072025_11_09_02_2795.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7844414710998535 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:11:03.415961
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/10/image_03072025_11_10_02_1165.jpg', 2), ('/home/pi/Desktop/images/03072025/11/09/image_03072025_11_09_02_2795.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/10/image_03072025_11_10_02_1165.jpg', '/home/pi/Desktop/images/03072025/11/09/image_03072025_11_09_02_2795.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/10/image_03072025_11_10_02_1165.jpg
/home/pi/Desktop/images/03072025/11/09/image_03072025_11_09_02_2795.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370394325","1370394269"],"photo_ids_order":["1370394269","1370394325"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7d044531f483e9621c14cdbf4acad73f.jpg","text":"TemporaryFile(/tmp/multipartBody7980077682723701611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751533925056,"filename":"image_03072025_11_09_02_2795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5f715927ac248fd2548171a98003605a.jpg","text":"TemporaryFile(/tmp/multipartBody4169766916355656823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751533925056,"filename":"image_03072025_11_10_02_1165.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370394325","file0":"1370394269"},"map_files_photo_id_array":[{"photo_id":"1370394325","filename":"file1"},{"photo_id":"1370394269","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370394325":["hashtag1","hashtag2"]},{"1370394269":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370394325, 1370394269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 28.556636333465576 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:12:02.918736
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/11/image_03072025_11_11_02_0539.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/11/image_03072025_11_11_02_0539.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/11/image_03072025_11_11_02_0539.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370394622"],"photo_id":"1370394622","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/8e4a2ee113f3f29e062165462f02ab5a.jpg","text":"TemporaryFile(/tmp/multipartBody5043674809527899602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751533984071,"filename":"image_03072025_11_11_02_0539.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370394622"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370394622"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.1797935962677 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:13:03.847255
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/12/image_03072025_11_12_01_6205.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/12/image_03072025_11_12_01_6205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/12/image_03072025_11_12_01_6205.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370394910"],"photo_id":"1370394910","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/8185f5af6796362332744adec5f82b39.jpg","text":"TemporaryFile(/tmp/multipartBody2691459168874591755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751534045087,"filename":"image_03072025_11_12_01_6205.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370394910"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370394910"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.710511207580566 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:14:02.721329
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/13/image_03072025_11_13_01_5142.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/13/image_03072025_11_13_01_5142.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/13/image_03072025_11_13_01_5142.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370395325"],"photo_id":"1370395325","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ed2bb56bda321fdc93023a0a71a528c4.jpg","text":"TemporaryFile(/tmp/multipartBody7771082474008687124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751534103849,"filename":"image_03072025_11_13_01_5142.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370395325"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370395325"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.402963399887085 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:15:03.855909
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/14/image_03072025_11_14_01_2283.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/14/image_03072025_11_14_01_2283.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/14/image_03072025_11_14_01_2283.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370395686"],"photo_id":"1370395686","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/e53d45298ff771b4845291aea02e802c.jpg","text":"TemporaryFile(/tmp/multipartBody5019296035115314494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751534165044,"filename":"image_03072025_11_14_01_2283.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370395686"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370395686"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.299708604812622 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:16:04.584145
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/15/image_03072025_11_15_01_4533.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/15/image_03072025_11_15_01_4533.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/15/image_03072025_11_15_01_4533.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370396001"],"photo_id":"1370396001","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b145da68c1bcd4e5600e0031ed46705d.jpg","text":"TemporaryFile(/tmp/multipartBody5592650256188514095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751534225905,"filename":"image_03072025_11_15_01_4533.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370396001"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370396001"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.824692726135254 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:17:03.411541
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/16/image_03072025_11_16_02_0044.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/16/image_03072025_11_16_02_0044.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/16/image_03072025_11_16_02_0044.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370396106"],"photo_id":"1370396106","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5ca125e579dc265a7fb07f61a16adfff.jpg","text":"TemporaryFile(/tmp/multipartBody1839585400898100532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751534284603,"filename":"image_03072025_11_16_02_0044.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370396106"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370396106"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.166813850402832 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:18:02.932697
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/17/image_03072025_11_17_01_6041.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/17/image_03072025_11_17_01_6041.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/17/image_03072025_11_17_01_6041.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370396467"],"photo_id":"1370396467","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ecddfb1002914e3fb57293847d8fd21f.jpg","text":"TemporaryFile(/tmp/multipartBody7281693825948930410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751534344064,"filename":"image_03072025_11_17_01_6041.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370396467"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370396467"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.200048446655273 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:19:03.934783
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/20/image_03072025_11_20_01_9181.jpg', 2), ('/home/pi/Desktop/images/03072025/11/18/image_03072025_11_18_01_4865.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/18/image_03072025_11_18_01_4865.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/18/image_03072025_11_18_01_4865.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370396759"],"photo_id":"1370396759","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/be0a1d7d4bb782a6eaceaf79868ce317.jpg","text":"TemporaryFile(/tmp/multipartBody8898413431233156121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751534405450,"filename":"image_03072025_11_18_01_4865.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370396759"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370396759"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.610097646713257 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/03072025/11/20/image_03072025_11_20_01_9181.jpg'],)
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:20:02.757715
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:21:03.667914
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/19/image_03072025_11_19_01_4923.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/19/image_03072025_11_19_01_4923.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/19/image_03072025_11_19_01_4923.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7777128219604492 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:22:02.900183
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/21/image_03072025_11_21_01_3529.jpg', 2), ('/home/pi/Desktop/images/03072025/11/19/image_03072025_11_19_01_4923.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/21/image_03072025_11_21_01_3529.jpg', '/home/pi/Desktop/images/03072025/11/19/image_03072025_11_19_01_4923.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/21/image_03072025_11_21_01_3529.jpg
/home/pi/Desktop/images/03072025/11/19/image_03072025_11_19_01_4923.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370397423","1370397480"],"photo_ids_order":["1370397423","1370397480"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/498510d7748847f7aa183627dbe3c703.jpg","text":"TemporaryFile(/tmp/multipartBody1470664318938654089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751534584454,"filename":"image_03072025_11_21_01_3529.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/00b3a52f683382d19d731e5302b7fb9c.jpg","text":"TemporaryFile(/tmp/multipartBody5417478910154754142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751534584454,"filename":"image_03072025_11_19_01_4923.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370397480","file0":"1370397423"},"map_files_photo_id_array":[{"photo_id":"1370397480","filename":"file1"},{"photo_id":"1370397423","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370397423":["hashtag1","hashtag2"]},{"1370397480":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370397423, 1370397480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 26.892564296722412 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:23:05.258693
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/22/image_03072025_11_22_01_7752.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/22/image_03072025_11_22_01_7752.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/22/image_03072025_11_22_01_7752.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370397704"],"photo_id":"1370397704","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7969e0c08400a36d07fdc91122a0aa11.jpg","text":"TemporaryFile(/tmp/multipartBody8038082208965298607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751534646734,"filename":"image_03072025_11_22_01_7752.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370397704"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370397704"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.387540102005005 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:24:03.104206
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/23/image_03072025_11_23_01_5474.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/23/image_03072025_11_23_01_5474.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/23/image_03072025_11_23_01_5474.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370397975"],"photo_id":"1370397975","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/acc2e36fd0aafae7d773b9e5fbf0b73c.jpg","text":"TemporaryFile(/tmp/multipartBody5166551885628578450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751534704295,"filename":"image_03072025_11_23_01_5474.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370397975"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370397975"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.890109300613403 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:25:05.856014
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/24/image_03072025_11_24_02_0577.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/24/image_03072025_11_24_02_0577.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/24/image_03072025_11_24_02_0577.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370398190"],"photo_id":"1370398190","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/e2726c3520bfc2a9762277a2fcad3360.jpg","text":"TemporaryFile(/tmp/multipartBody7560853527203735207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751534767685,"filename":"image_03072025_11_24_02_0577.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370398190"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370398190"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.73437261581421 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:26:03.493118
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/25/image_03072025_11_25_01_5362.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/25/image_03072025_11_25_01_5362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/25/image_03072025_11_25_01_5362.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370398373"],"photo_id":"1370398373","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f9566d857153b98f75ce09a9441868c3.jpg","text":"TemporaryFile(/tmp/multipartBody8538861885601723509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751534824816,"filename":"image_03072025_11_25_01_5362.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370398373"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370398373"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.325124740600586 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:27:03.180002
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/26/image_03072025_11_26_01_4903.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/26/image_03072025_11_26_01_4903.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/26/image_03072025_11_26_01_4903.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370398824"],"photo_id":"1370398824","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/78b0d4065c4a9e429ef991541731eca5.jpg","text":"TemporaryFile(/tmp/multipartBody6046021998405824575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751534884354,"filename":"image_03072025_11_26_01_4903.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370398824"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370398824"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.438957691192627 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:28:03.063567
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/27/image_03072025_11_27_01_3140.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/27/image_03072025_11_27_01_3140.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/27/image_03072025_11_27_01_3140.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370399443"],"photo_id":"1370399443","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/547e9c901b48407e1ed21d2df7a57692.jpg","text":"TemporaryFile(/tmp/multipartBody9127694963067267222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751534944173,"filename":"image_03072025_11_27_01_3140.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370399443"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370399443"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.131351232528687 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:29:04.115923
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/28/image_03072025_11_28_01_2836.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/28/image_03072025_11_28_01_2836.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/28/image_03072025_11_28_01_2836.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370399630"],"photo_id":"1370399630","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/978cd822d110c1747634d89cfafda4bc.jpg","text":"TemporaryFile(/tmp/multipartBody245627888060607681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751535005306,"filename":"image_03072025_11_28_01_2836.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370399630"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370399630"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.24530529975891 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:30:03.295928
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/29/image_03072025_11_29_01_6786.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/29/image_03072025_11_29_01_6786.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/29/image_03072025_11_29_01_6786.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370399796"],"photo_id":"1370399796","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d42d917813ab8e54ae37890e4efa61ac.jpg","text":"TemporaryFile(/tmp/multipartBody2337871738890850423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751535064453,"filename":"image_03072025_11_29_01_6786.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370399796"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370399796"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.434632539749146 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:31:03.128067
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/30/image_03072025_11_30_02_2268.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/30/image_03072025_11_30_02_2268.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/30/image_03072025_11_30_02_2268.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370399999"],"photo_id":"1370399999","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/46a6b30e6e5a9796ec87a347aca7d24a.jpg","text":"TemporaryFile(/tmp/multipartBody3532285260464811207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751535124357,"filename":"image_03072025_11_30_02_2268.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370399999"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370399999"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 21.60166025161743 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:32:03.078516
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/31/image_03072025_11_31_01_2766.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/31/image_03072025_11_31_01_2766.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/31/image_03072025_11_31_01_2766.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370400074"],"photo_id":"1370400074","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/44b1b47f1b28a2ac25a5f68c3721fa10.jpg","text":"TemporaryFile(/tmp/multipartBody7465425501985542173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751535184268,"filename":"image_03072025_11_31_01_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370400074"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370400074"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.61102819442749 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:33:03.965381
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/32/image_03072025_11_32_01_5163.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/32/image_03072025_11_32_01_5163.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/32/image_03072025_11_32_01_5163.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370400182"],"photo_id":"1370400182","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/e6297ca42623eb1032fe28ba32f14301.jpg","text":"TemporaryFile(/tmp/multipartBody7142506021246236826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751535245191,"filename":"image_03072025_11_32_01_5163.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370400182"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370400182"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.299825191497803 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:34:03.485255
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/33/image_03072025_11_33_01_7575.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/33/image_03072025_11_33_01_7575.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/33/image_03072025_11_33_01_7575.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7825613021850586 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:35:03.595913
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/34/image_03072025_11_34_01_6541.jpg', 2), ('/home/pi/Desktop/images/03072025/11/33/image_03072025_11_33_01_7575.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/34/image_03072025_11_34_01_6541.jpg', '/home/pi/Desktop/images/03072025/11/33/image_03072025_11_33_01_7575.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/34/image_03072025_11_34_01_6541.jpg
/home/pi/Desktop/images/03072025/11/33/image_03072025_11_33_01_7575.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2878623008728027 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:36:03.187865
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/34/image_03072025_11_34_01_6541.jpg', 2), ('/home/pi/Desktop/images/03072025/11/33/image_03072025_11_33_01_7575.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/34/image_03072025_11_34_01_6541.jpg', '/home/pi/Desktop/images/03072025/11/33/image_03072025_11_33_01_7575.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/34/image_03072025_11_34_01_6541.jpg
/home/pi/Desktop/images/03072025/11/33/image_03072025_11_33_01_7575.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370400864","1370400989"],"photo_ids_order":["1370400864","1370400989"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/6fb3613fbc1e00d4e4397adb2e98c264.jpg","text":"TemporaryFile(/tmp/multipartBody3611655030447280421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751535424754,"filename":"image_03072025_11_34_01_6541.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2fbd34b5e0b79a4b273f77d4d6888391.jpg","text":"TemporaryFile(/tmp/multipartBody3905387392145098501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751535424754,"filename":"image_03072025_11_33_01_7575.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370400989","file0":"1370400864"},"map_files_photo_id_array":[{"photo_id":"1370400989","filename":"file1"},{"photo_id":"1370400864","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370400864":["hashtag1","hashtag2"]},{"1370400989":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370400864, 1370400989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 27.53614902496338 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:37:04.876955
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/35/image_03072025_11_35_02_1430.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/35/image_03072025_11_35_02_1430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/35/image_03072025_11_35_02_1430.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370401526"],"photo_id":"1370401526","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d0977b6b05bc167fe9505189070a8a15.jpg","text":"TemporaryFile(/tmp/multipartBody5367220226649897715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751535486512,"filename":"image_03072025_11_35_02_1430.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370401526"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370401526"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.416474103927612 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:38:02.684708
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:39:03.560511
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:40:02.828830
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/37/image_03072025_11_37_01_8775.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/37/image_03072025_11_37_01_8775.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/37/image_03072025_11_37_01_8775.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370402436"],"photo_id":"1370402436","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/16255f2c680403e738992f4caac5b50f.jpg","text":"TemporaryFile(/tmp/multipartBody3255273295203414199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751535664033,"filename":"image_03072025_11_37_01_8775.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370402436"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370402436"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.297856330871582 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:41:03.809386
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/40/image_03072025_11_40_01_4573.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/40/image_03072025_11_40_01_4573.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/40/image_03072025_11_40_01_4573.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370403215"],"photo_id":"1370403215","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d117087c1860a76da14ff566910c0c29.jpg","text":"TemporaryFile(/tmp/multipartBody1618208847342484330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751535725020,"filename":"image_03072025_11_40_01_4573.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370403215"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370403215"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.96139931678772 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:42:03.291511
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/41/image_03072025_11_41_01_4974.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/41/image_03072025_11_41_01_4974.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/41/image_03072025_11_41_01_4974.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370403870"],"photo_id":"1370403870","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/46c525d375dec9878ecf5a22ec4c451c.jpg","text":"TemporaryFile(/tmp/multipartBody7607297276757768683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751535784667,"filename":"image_03072025_11_41_01_4974.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370403870"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370403870"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.863642930984497 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:43:03.158925
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/42/image_03072025_11_42_01_9926.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/42/image_03072025_11_42_01_9926.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/42/image_03072025_11_42_01_9926.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370404251"],"photo_id":"1370404251","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d1a8b15cb4c0de4bf1583bf9576fdb9e.jpg","text":"TemporaryFile(/tmp/multipartBody5882291727355127012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751535844353,"filename":"image_03072025_11_42_01_9926.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370404251"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370404251"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.760783910751343 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:44:02.720940
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/43/image_03072025_11_43_01_8613.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/43/image_03072025_11_43_01_8613.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/43/image_03072025_11_43_01_8613.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370404564"],"photo_id":"1370404564","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/4203783bf0e4cba95211199ddd76fca7.jpg","text":"TemporaryFile(/tmp/multipartBody8109916645965292313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751535903882,"filename":"image_03072025_11_43_01_8613.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370404564"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370404564"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 19.95659828186035 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:45:03.763677
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/44/image_03072025_11_44_01_4587.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/44/image_03072025_11_44_01_4587.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/44/image_03072025_11_44_01_4587.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370404826"],"photo_id":"1370404826","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/9b93fecad5424b594801fd7206709dc6.jpg","text":"TemporaryFile(/tmp/multipartBody7255935471639301140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751535965004,"filename":"image_03072025_11_44_01_4587.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370404826"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370404826"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.30131244659424 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:46:03.278973
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/45/image_03072025_11_45_01_3046.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/45/image_03072025_11_45_01_3046.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/45/image_03072025_11_45_01_3046.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370405350"],"photo_id":"1370405350","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/17345ecc5f158f36700f3eedcf53c113.jpg","text":"TemporaryFile(/tmp/multipartBody4233545683244864310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751536024402,"filename":"image_03072025_11_45_01_3046.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370405350"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370405350"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.701114654541016 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:47:03.065943
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:48:03.475845
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:49:03.368276
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/46/image_03072025_11_46_02_0061.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/46/image_03072025_11_46_02_0061.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/46/image_03072025_11_46_02_0061.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370407281"],"photo_id":"1370407281","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/4dbf527d6364012d73556721b63a5fda.jpg","text":"TemporaryFile(/tmp/multipartBody16404036754634130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751536204546,"filename":"image_03072025_11_46_02_0061.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370407281"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370407281"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.2983660697937 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:50:03.347892
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/49/image_03072025_11_49_02_1121.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/49/image_03072025_11_49_02_1121.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/49/image_03072025_11_49_02_1121.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370408042"],"photo_id":"1370408042","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/1dd189f76e5c2d8e492b1e8c89d6c396.jpg","text":"TemporaryFile(/tmp/multipartBody7413882029241015577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751536264465,"filename":"image_03072025_11_49_02_1121.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370408042"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370408042"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.316113710403442 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:51:03.895377
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/50/image_03072025_11_50_01_5339.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/50/image_03072025_11_50_01_5339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/50/image_03072025_11_50_01_5339.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370408591"],"photo_id":"1370408591","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5ec50fcf031b2bcaf9c9cdd9d86770a8.jpg","text":"TemporaryFile(/tmp/multipartBody824654093133713023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751536325088,"filename":"image_03072025_11_50_01_5339.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370408591"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370408591"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.46060848236084 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:52:03.430203
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/51/image_03072025_11_51_01_9985.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/51/image_03072025_11_51_01_9985.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/51/image_03072025_11_51_01_9985.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370408845"],"photo_id":"1370408845","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7e4814e71c38e10baa6618d335cadd45.jpg","text":"TemporaryFile(/tmp/multipartBody3977880962139450499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751536384500,"filename":"image_03072025_11_51_01_9985.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370408845"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370408845"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 20.453574180603027 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:53:04.289566
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/52/image_03072025_11_52_02_0243.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/52/image_03072025_11_52_02_0243.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/52/image_03072025_11_52_02_0243.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370409105"],"photo_id":"1370409105","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/3ca6b1c971fa68e93f5e1e3e9ac9d10b.jpg","text":"TemporaryFile(/tmp/multipartBody2303393164650199125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751536445550,"filename":"image_03072025_11_52_02_0243.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370409105"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370409105"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 24.616684436798096 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:54:03.417841
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/53/image_03072025_11_53_02_0527.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/53/image_03072025_11_53_02_0527.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/53/image_03072025_11_53_02_0527.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370409985"],"photo_id":"1370409985","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f375bc221932266363f83f365541ed9d.jpg","text":"TemporaryFile(/tmp/multipartBody522931085743656995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751536504518,"filename":"image_03072025_11_53_02_0527.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370409985"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370409985"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.31941533088684 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:55:03.430090
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/54/image_03072025_11_54_01_8456.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/54/image_03072025_11_54_01_8456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/54/image_03072025_11_54_01_8456.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.807976245880127 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:56:02.856634
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/55/image_03072025_11_55_01_9823.jpg', 2), ('/home/pi/Desktop/images/03072025/11/54/image_03072025_11_54_01_8456.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/55/image_03072025_11_55_01_9823.jpg', '/home/pi/Desktop/images/03072025/11/54/image_03072025_11_54_01_8456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/55/image_03072025_11_55_01_9823.jpg
/home/pi/Desktop/images/03072025/11/54/image_03072025_11_54_01_8456.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370411264","1370411210"],"photo_ids_order":["1370411210","1370411264"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/150f3318a944def769fd3435e1145080.jpg","text":"TemporaryFile(/tmp/multipartBody1672352690122656967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751536624320,"filename":"image_03072025_11_54_01_8456.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/a4cccfb8015869a2079037b60a0d3dfe.jpg","text":"TemporaryFile(/tmp/multipartBody5069275067493886676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751536624320,"filename":"image_03072025_11_55_01_9823.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370411264","file0":"1370411210"},"map_files_photo_id_array":[{"photo_id":"1370411264","filename":"file1"},{"photo_id":"1370411210","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370411264":["hashtag1","hashtag2"]},{"1370411210":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370411264, 1370411210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.61033797264099 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:57:03.524306
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/56/image_03072025_11_56_01_4841.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/56/image_03072025_11_56_01_4841.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/56/image_03072025_11_56_01_4841.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370411434"],"photo_id":"1370411434","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/e121758ec128de12a3fffcb1d7835e5f.jpg","text":"TemporaryFile(/tmp/multipartBody1139712991459364838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751536684737,"filename":"image_03072025_11_56_01_4841.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370411434"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370411434"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.386037588119507 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 11:59:04.578868
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/58/image_03072025_11_58_01_8235.jpg', 2), ('/home/pi/Desktop/images/03072025/11/57/image_03072025_11_57_01_4174.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/58/image_03072025_11_58_01_8235.jpg', '/home/pi/Desktop/images/03072025/11/57/image_03072025_11_57_01_4174.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/58/image_03072025_11_58_01_8235.jpg
/home/pi/Desktop/images/03072025/11/57/image_03072025_11_57_01_4174.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370412387","1370412246"],"photo_ids_order":["1370412246","1370412387"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d5eac61ac1214ff5845c992233db33c5.jpg","text":"TemporaryFile(/tmp/multipartBody896855284614030469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751536806119,"filename":"image_03072025_11_57_01_4174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/dfd4012496f5d5c1ff23f20981488abd.jpg","text":"TemporaryFile(/tmp/multipartBody7078514650207365660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751536806119,"filename":"image_03072025_11_58_01_8235.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370412387","file0":"1370412246"},"map_files_photo_id_array":[{"photo_id":"1370412387","filename":"file1"},{"photo_id":"1370412246","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370412387":["hashtag1","hashtag2"]},{"1370412246":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370412387, 1370412246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 29.044930458068848 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:00:03.471472
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/11/59/image_03072025_11_59_01_2489.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/11/59/image_03072025_11_59_01_2489.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/11/59/image_03072025_11_59_01_2489.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370413402"],"photo_id":"1370413402","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/676f01e2402c3d5c54feb5cbc988bc4a.jpg","text":"TemporaryFile(/tmp/multipartBody8493357724892144226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751536864582,"filename":"image_03072025_11_59_01_2489.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370413402"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370413402"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.5319983959198 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:01:03.868356
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/00/image_03072025_12_00_02_0783.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/00/image_03072025_12_00_02_0783.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/00/image_03072025_12_00_02_0783.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370414330"],"photo_id":"1370414330","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/dbbb760d85648df1429b17e41999cbee.jpg","text":"TemporaryFile(/tmp/multipartBody3869817580660559201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751536925041,"filename":"image_03072025_12_00_02_0783.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370414330"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370414330"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.62839651107788 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:02:03.321413
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/01/image_03072025_12_01_02_2347.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/01/image_03072025_12_01_02_2347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/01/image_03072025_12_01_02_2347.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370414994"],"photo_id":"1370414994","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/bdf2613862ec0afad0902c01c3d77ef4.jpg","text":"TemporaryFile(/tmp/multipartBody795488778083254123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751536984432,"filename":"image_03072025_12_01_02_2347.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370414994"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370414994"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.93796467781067 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:03:03.149994
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:04:03.140251
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:05:03.914708
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:06:02.633117
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/02/image_03072025_12_02_02_0429.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/02/image_03072025_12_02_02_0429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/02/image_03072025_12_02_02_0429.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370416466"],"photo_id":"1370416466","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/219301db3670449e25ed74375c845c7b.jpg","text":"TemporaryFile(/tmp/multipartBody5192420550143498644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751537223742,"filename":"image_03072025_12_02_02_0429.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370416466"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370416466"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.696848392486572 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:07:03.398053
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:08:03.295627
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/06/image_03072025_12_06_02_3309.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/06/image_03072025_12_06_02_3309.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/06/image_03072025_12_06_02_3309.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370417735"],"photo_id":"1370417735","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d0fe427ab9e094c28c858cb7604d9f6e.jpg","text":"TemporaryFile(/tmp/multipartBody2137308194468388827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751537344445,"filename":"image_03072025_12_06_02_3309.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370417735"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370417735"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.268532276153564 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:09:03.846200
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:10:02.989760
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/10/image_03072025_12_10_02_0293.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/10/image_03072025_12_10_02_0293.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/10/image_03072025_12_10_02_0293.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370418719"],"photo_id":"1370418719","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/9ee971bd4aa91ece4885a36f425abe69.jpg","text":"TemporaryFile(/tmp/multipartBody2004792014250391215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751537464109,"filename":"image_03072025_12_10_02_0293.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370418719"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370418719"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.311955213546753 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:11:03.205571
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/07/image_03072025_12_07_01_2307.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/07/image_03072025_12_07_01_2307.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/07/image_03072025_12_07_01_2307.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370418972"],"photo_id":"1370418972","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/edb4b0c89987993cb0faab1813b29f75.jpg","text":"TemporaryFile(/tmp/multipartBody4289912777271996805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751537524373,"filename":"image_03072025_12_07_01_2307.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370418972"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370418972"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.740498781204224 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:12:03.153308
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:13:03.416006
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:14:02.659818
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:15:03.664416
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:16:02.918460
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:17:03.914394
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:18:03.278266
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:19:03.439276
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:20:02.741715
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/11/image_03072025_12_11_01_5752.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/11/image_03072025_12_11_01_5752.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/11/image_03072025_12_11_01_5752.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370423277"],"photo_id":"1370423277","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d6beb50e4efd7a63e5f3787fb27a4682.jpg","text":"TemporaryFile(/tmp/multipartBody4765147048722722176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751538063864,"filename":"image_03072025_12_11_01_5752.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370423277"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370423277"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.340769052505493 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:21:03.463927
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/20/image_03072025_12_20_01_3570.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/20/image_03072025_12_20_01_3570.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/20/image_03072025_12_20_01_3570.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370423687"],"photo_id":"1370423687","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5266cbbcba29792f9f843f536754b7b2.jpg","text":"TemporaryFile(/tmp/multipartBody6855982588247466515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751538124655,"filename":"image_03072025_12_20_01_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370423687"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370423687"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.426174640655518 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:22:03.343436
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/21/image_03072025_12_21_01_3658.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/21/image_03072025_12_21_01_3658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/21/image_03072025_12_21_01_3658.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370424613"],"photo_id":"1370424613","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/ca674437d277646b96f0070d56220b18.jpg","text":"TemporaryFile(/tmp/multipartBody4039819233673969387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751538184426,"filename":"image_03072025_12_21_01_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370424613"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370424613"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.191428899765015 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:23:03.596882
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/22/image_03072025_12_22_01_6594.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/22/image_03072025_12_22_01_6594.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/22/image_03072025_12_22_01_6594.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7669529914855957 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:24:03.387525
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/23/image_03072025_12_23_01_9405.jpg', 2), ('/home/pi/Desktop/images/03072025/12/22/image_03072025_12_22_01_6594.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/23/image_03072025_12_23_01_9405.jpg', '/home/pi/Desktop/images/03072025/12/22/image_03072025_12_22_01_6594.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/23/image_03072025_12_23_01_9405.jpg
/home/pi/Desktop/images/03072025/12/22/image_03072025_12_22_01_6594.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370425415","1370425438"],"photo_ids_order":["1370425415","1370425438"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7fa63b62fef2a029f2c596f972a9b296.jpg","text":"TemporaryFile(/tmp/multipartBody6497219063510512188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751538304872,"filename":"image_03072025_12_23_01_9405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2a8d4be3ba6226db4174093b5fcf51bf.jpg","text":"TemporaryFile(/tmp/multipartBody8886784478847375257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751538304872,"filename":"image_03072025_12_22_01_6594.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370425438","file0":"1370425415"},"map_files_photo_id_array":[{"photo_id":"1370425438","filename":"file1"},{"photo_id":"1370425415","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370425415":["hashtag1","hashtag2"]},{"1370425438":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370425415, 1370425438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.97074031829834 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:25:06.119772
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/24/image_03072025_12_24_01_6186.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/24/image_03072025_12_24_01_6186.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/24/image_03072025_12_24_01_6186.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370425544"],"photo_id":"1370425544","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/365eb1d43094e7b6219f2adca4d44d1e.jpg","text":"TemporaryFile(/tmp/multipartBody7638292833414037063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751538367995,"filename":"image_03072025_12_24_01_6186.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370425544"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370425544"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.580825328826904 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:26:04.042115
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/25/image_03072025_12_25_01_8043.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/25/image_03072025_12_25_01_8043.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/25/image_03072025_12_25_01_8043.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370426180"],"photo_id":"1370426180","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f96ca9e3ce1d841019ae55183dcf7c49.jpg","text":"TemporaryFile(/tmp/multipartBody4051655945088155765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751538425354,"filename":"image_03072025_12_25_01_8043.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370426180"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370426180"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.799433946609497 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:27:04.048340
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:28:02.865136
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:29:03.889829
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/26/image_03072025_12_26_01_6840.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/26/image_03072025_12_26_01_6840.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/26/image_03072025_12_26_01_6840.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370427472"],"photo_id":"1370427472","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/0e6ce5689576ebc775ab0c1c7596e707.jpg","text":"TemporaryFile(/tmp/multipartBody2730315441109618383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751538605094,"filename":"image_03072025_12_26_01_6840.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370427472"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370427472"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.337486505508423 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:30:02.699111
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/29/image_03072025_12_29_01_5267.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/29/image_03072025_12_29_01_5267.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/29/image_03072025_12_29_01_5267.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370428025"],"photo_id":"1370428025","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b4f33b019e8320f376f23c8aff15cb63.jpg","text":"TemporaryFile(/tmp/multipartBody1895500953525219955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751538663883,"filename":"image_03072025_12_29_01_5267.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370428025"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370428025"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.708213329315186 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:31:03.621600
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/30/image_03072025_12_30_01_8627.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/30/image_03072025_12_30_01_8627.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/30/image_03072025_12_30_01_8627.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370428333"],"photo_id":"1370428333","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/50fdb437befee93f91b6cf43f1549650.jpg","text":"TemporaryFile(/tmp/multipartBody9199659951803092039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751538724826,"filename":"image_03072025_12_30_01_8627.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370428333"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370428333"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.292040586471558 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:32:02.963299
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:33:03.386992
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/31/image_03072025_12_31_01_3383.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/31/image_03072025_12_31_01_3383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/31/image_03072025_12_31_01_3383.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370428816"],"photo_id":"1370428816","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/3d2ee1ccfec0e2afc81b82f211aeb1b6.jpg","text":"TemporaryFile(/tmp/multipartBody8325370553921197900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751538844594,"filename":"image_03072025_12_31_01_3383.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370428816"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370428816"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.234036207199097 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:34:03.522692
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/33/image_03072025_12_33_01_5262.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/33/image_03072025_12_33_01_5262.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/33/image_03072025_12_33_01_5262.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7376670837402344 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:35:03.605635
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/34/image_03072025_12_34_01_6886.jpg', 2), ('/home/pi/Desktop/images/03072025/12/33/image_03072025_12_33_01_5262.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/34/image_03072025_12_34_01_6886.jpg', '/home/pi/Desktop/images/03072025/12/33/image_03072025_12_33_01_5262.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/34/image_03072025_12_34_01_6886.jpg
/home/pi/Desktop/images/03072025/12/33/image_03072025_12_33_01_5262.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370429387","1370429416"],"photo_ids_order":["1370429387","1370429416"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/faa181e855ea5cb31e1dd2f83a522b57.jpg","text":"TemporaryFile(/tmp/multipartBody6984648896860426630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751538965170,"filename":"image_03072025_12_34_01_6886.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d75be895ccc6a4ac3d93012c2987a4db.jpg","text":"TemporaryFile(/tmp/multipartBody8049412463389047554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751538965170,"filename":"image_03072025_12_33_01_5262.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370429416","file0":"1370429387"},"map_files_photo_id_array":[{"photo_id":"1370429416","filename":"file1"},{"photo_id":"1370429387","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370429387":["hashtag1","hashtag2"]},{"1370429416":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370429387, 1370429416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.955851554870605 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:36:04.102560
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/35/image_03072025_12_35_02_1243.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/35/image_03072025_12_35_02_1243.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/35/image_03072025_12_35_02_1243.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370429554"],"photo_id":"1370429554","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/00a43130d2037aca367b1a5299bf811d.jpg","text":"TemporaryFile(/tmp/multipartBody4636476640461610472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751539025271,"filename":"image_03072025_12_35_02_1243.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370429554"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370429554"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.589383602142334 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:37:03.918717
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/36/image_03072025_12_36_01_5878.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/36/image_03072025_12_36_01_5878.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/36/image_03072025_12_36_01_5878.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370430063"],"photo_id":"1370430063","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/30d7a0d7499833bed74b7d0fd8228d4f.jpg","text":"TemporaryFile(/tmp/multipartBody9172528082197874324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751539085144,"filename":"image_03072025_12_36_01_5878.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370430063"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370430063"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.375487089157104 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:38:03.059316
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/37/image_03072025_12_37_01_6650.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/37/image_03072025_12_37_01_6650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/37/image_03072025_12_37_01_6650.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370430818"],"photo_id":"1370430818","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/3c59beca4445695cc0de21f556d7fd6e.jpg","text":"TemporaryFile(/tmp/multipartBody1274078057777464095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751539144194,"filename":"image_03072025_12_37_01_6650.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370430818"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370430818"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.249763250350952 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:39:04.251215
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/38/image_03072025_12_38_02_0855.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/38/image_03072025_12_38_02_0855.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/38/image_03072025_12_38_02_0855.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370431338"],"photo_id":"1370431338","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/9541c5a2887fc319fb78b95a49456952.jpg","text":"TemporaryFile(/tmp/multipartBody6638503657639136147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751539205454,"filename":"image_03072025_12_38_02_0855.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370431338"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370431338"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.126535654067993 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:40:03.469017
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/39/image_03072025_12_39_01_6548.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/39/image_03072025_12_39_01_6548.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/39/image_03072025_12_39_01_6548.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370431614"],"photo_id":"1370431614","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b6e3334f6310b5818d9ae6e84356e7c9.jpg","text":"TemporaryFile(/tmp/multipartBody42867995540745770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751539264611,"filename":"image_03072025_12_39_01_6548.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370431614"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370431614"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.077276945114136 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:41:05.027035
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/40/image_03072025_12_40_02_0775.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/40/image_03072025_12_40_02_0775.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/40/image_03072025_12_40_02_0775.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370432393"],"photo_id":"1370432393","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b44555aeb49a0743af4b445a145c7658.jpg","text":"TemporaryFile(/tmp/multipartBody722686721531804321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751539326564,"filename":"image_03072025_12_40_02_0775.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370432393"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370432393"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.515556573867798 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:42:03.294315
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/41/image_03072025_12_41_02_1956.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/41/image_03072025_12_41_02_1956.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/41/image_03072025_12_41_02_1956.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370432738"],"photo_id":"1370432738","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/fc0a00cc23ebc3fe126c74dd4911ec52.jpg","text":"TemporaryFile(/tmp/multipartBody7937658231122707130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751539384410,"filename":"image_03072025_12_41_02_1956.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370432738"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370432738"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.305694103240967 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:43:03.537100
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:44:02.738984
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/42/image_03072025_12_42_02_1337.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/42/image_03072025_12_42_02_1337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/42/image_03072025_12_42_02_1337.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370433832"],"photo_id":"1370433832","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/6c755703c80f55551b92afeeeefa4029.jpg","text":"TemporaryFile(/tmp/multipartBody3067121120699022068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751539503877,"filename":"image_03072025_12_42_02_1337.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370433832"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370433832"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.122161388397217 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:45:03.801195
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:46:02.826704
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/44/image_03072025_12_44_01_5071.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/44/image_03072025_12_44_01_5071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/44/image_03072025_12_44_01_5071.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370434852"],"photo_id":"1370434852","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2c91e388bdd4fe96fb0176e55274550b.jpg","text":"TemporaryFile(/tmp/multipartBody199866197743771162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751539624053,"filename":"image_03072025_12_44_01_5071.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370434852"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370434852"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.67257785797119 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:47:03.820613
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/46/image_03072025_12_46_01_5163.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/46/image_03072025_12_46_01_5163.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/46/image_03072025_12_46_01_5163.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370435534"],"photo_id":"1370435534","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/6a29fd864ebfcd3aca2d6df49202c69b.jpg","text":"TemporaryFile(/tmp/multipartBody1579571354568699975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751539684996,"filename":"image_03072025_12_46_01_5163.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370435534"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370435534"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.492417335510254 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:48:03.497521
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/47/image_03072025_12_47_01_3520.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/47/image_03072025_12_47_01_3520.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/47/image_03072025_12_47_01_3520.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370435770"],"photo_id":"1370435770","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/dec3805e085e094baf90bb357060f299.jpg","text":"TemporaryFile(/tmp/multipartBody3927738347495441165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751539744602,"filename":"image_03072025_12_47_01_3520.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370435770"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370435770"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.45747470855713 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:49:03.893063
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/48/image_03072025_12_48_01_9118.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/48/image_03072025_12_48_01_9118.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/48/image_03072025_12_48_01_9118.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370436000"],"photo_id":"1370436000","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/24f04872bfc5a8aa5f8372ca81d942fb.jpg","text":"TemporaryFile(/tmp/multipartBody4181990794436458320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751539805104,"filename":"image_03072025_12_48_01_9118.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370436000"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370436000"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.22960877418518 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:50:03.010347
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/49/image_03072025_12_49_02_1333.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/49/image_03072025_12_49_02_1333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/49/image_03072025_12_49_02_1333.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370436452"],"photo_id":"1370436452","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/9f02e6957550214c8f33eedde7a8fe3d.jpg","text":"TemporaryFile(/tmp/multipartBody7288793510477268825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751539864154,"filename":"image_03072025_12_49_02_1333.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370436452"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370436452"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.329063892364502 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:51:04.121976
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:52:02.863120
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/50/image_03072025_12_50_02_2069.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/50/image_03072025_12_50_02_2069.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/50/image_03072025_12_50_02_2069.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370437951"],"photo_id":"1370437951","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/9c53be7abc55deb955002fb1bfbd45d3.jpg","text":"TemporaryFile(/tmp/multipartBody5170284340154613224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751539983978,"filename":"image_03072025_12_50_02_2069.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370437951"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370437951"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.612369298934937 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:53:03.724271
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/52/image_03072025_12_52_02_1496.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/52/image_03072025_12_52_02_1496.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/52/image_03072025_12_52_02_1496.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370438520"],"photo_id":"1370438520","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/709ae7baf4863f57e157fb767d474abd.jpg","text":"TemporaryFile(/tmp/multipartBody4994955881606260468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751540044912,"filename":"image_03072025_12_52_02_1496.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370438520"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370438520"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.64888906478882 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:54:03.638657
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/53/image_03072025_12_53_01_4353.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/53/image_03072025_12_53_01_4353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/53/image_03072025_12_53_01_4353.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370438812"],"photo_id":"1370438812","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/9eba1aa1db02433a005883d0b09be8f1.jpg","text":"TemporaryFile(/tmp/multipartBody6152989493865705915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751540104755,"filename":"image_03072025_12_53_01_4353.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370438812"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370438812"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.742137908935547 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:55:03.455662
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/54/image_03072025_12_54_01_8709.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/54/image_03072025_12_54_01_8709.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/54/image_03072025_12_54_01_8709.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370439238"],"photo_id":"1370439238","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/0362b2193cdb0ac47d55c37fc162f899.jpg","text":"TemporaryFile(/tmp/multipartBody2938165392368055403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751540164592,"filename":"image_03072025_12_54_01_8709.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370439238"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370439238"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.438518524169922 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:56:03.960108
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/55/image_03072025_12_55_02_1789.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/55/image_03072025_12_55_02_1789.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/55/image_03072025_12_55_02_1789.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370439541"],"photo_id":"1370439541","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/0198f94988b7b1915ba95fc1311dbcb3.jpg","text":"TemporaryFile(/tmp/multipartBody7448119224730869114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751540225098,"filename":"image_03072025_12_55_02_1789.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370439541"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370439541"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.339898824691772 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:57:04.042370
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/56/image_03072025_12_56_01_5734.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/56/image_03072025_12_56_01_5734.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/56/image_03072025_12_56_01_5734.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370439911"],"photo_id":"1370439911","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/8d99aed2341bfca09624ff89ddaf6e5d.jpg","text":"TemporaryFile(/tmp/multipartBody4534610409337050604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751540285265,"filename":"image_03072025_12_56_01_5734.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370439911"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370439911"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.038883686065674 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 12:59:03.183644
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/58/image_03072025_12_58_02_1762.jpg', 2), ('/home/pi/Desktop/images/03072025/12/57/image_03072025_12_57_02_1973.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/58/image_03072025_12_58_02_1762.jpg', '/home/pi/Desktop/images/03072025/12/57/image_03072025_12_57_02_1973.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/58/image_03072025_12_58_02_1762.jpg
/home/pi/Desktop/images/03072025/12/57/image_03072025_12_57_02_1973.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370441414","1370441521"],"photo_ids_order":["1370441414","1370441521"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/358fe2accf696e9b76d19d8e6712b007.jpg","text":"TemporaryFile(/tmp/multipartBody624187199028311442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751540404708,"filename":"image_03072025_12_58_02_1762.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/8e2b5dce267ffdb74bd866890eaf8d1f.jpg","text":"TemporaryFile(/tmp/multipartBody4422788808885725219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751540404708,"filename":"image_03072025_12_57_02_1973.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370441521","file0":"1370441414"},"map_files_photo_id_array":[{"photo_id":"1370441521","filename":"file1"},{"photo_id":"1370441414","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370441414":["hashtag1","hashtag2"]},{"1370441521":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370441414, 1370441521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.131441354751587 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:00:03.353203
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/00/image_03072025_13_00_01_4460.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/00/image_03072025_13_00_01_4460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/00/image_03072025_13_00_01_4460.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370442213"],"photo_id":"1370442213","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/951e06d28850bb4be8a62e87d99cbcc1.jpg","text":"TemporaryFile(/tmp/multipartBody5409108134684355836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751540464474,"filename":"image_03072025_13_00_01_4460.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370442213"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370442213"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.989435195922852 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:01:04.122881
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/59/image_03072025_12_59_02_2087.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/59/image_03072025_12_59_02_2087.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/59/image_03072025_12_59_02_2087.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.859220027923584 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:02:03.078196
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/12/59/image_03072025_12_59_02_2087.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/12/59/image_03072025_12_59_02_2087.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/12/59/image_03072025_12_59_02_2087.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370443440"],"photo_id":"1370443440","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/508d5c98c2fe72662f10553ddb103aec.jpg","text":"TemporaryFile(/tmp/multipartBody5522355305237906488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751540584182,"filename":"image_03072025_12_59_02_2087.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370443440"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370443440"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.304818153381348 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:03:03.986412
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:04:02.983016
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/01/image_03072025_13_01_01_9276.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/01/image_03072025_13_01_01_9276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/01/image_03072025_13_01_01_9276.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370444642"],"photo_id":"1370444642","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5363f8a9ea0c36f30ce70048e2c83379.jpg","text":"TemporaryFile(/tmp/multipartBody3919777924411560166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751540704113,"filename":"image_03072025_13_01_01_9276.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370444642"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370444642"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.814412832260132 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:05:04.154943
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:06:03.651583
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/04/image_03072025_13_04_02_0434.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/04/image_03072025_13_04_02_0434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/04/image_03072025_13_04_02_0434.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370447306"],"photo_id":"1370447306","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5c401e800a212508d9ed6279e92c91cc.jpg","text":"TemporaryFile(/tmp/multipartBody1788344529872467128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751540824771,"filename":"image_03072025_13_04_02_0434.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370447306"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370447306"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.156803607940674 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:07:03.609511
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:08:03.195888
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:09:03.735992
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/06/image_03072025_13_06_02_2642.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/06/image_03072025_13_06_02_2642.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/06/image_03072025_13_06_02_2642.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370449666"],"photo_id":"1370449666","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f9cb2fb41fcb6b5d06b52f53b7bb1099.jpg","text":"TemporaryFile(/tmp/multipartBody4726986656980715843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751541004908,"filename":"image_03072025_13_06_02_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370449666"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370449666"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 20.609357595443726 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:10:02.943515
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/09/image_03072025_13_09_01_8824.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/09/image_03072025_13_09_01_8824.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/09/image_03072025_13_09_01_8824.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370450091"],"photo_id":"1370450091","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/aee719b5aa6c48fe2893f93270bba07c.jpg","text":"TemporaryFile(/tmp/multipartBody8766813330409272735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751541064078,"filename":"image_03072025_13_09_01_8824.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370450091"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370450091"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.353851795196533 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:11:03.187646
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/10/image_03072025_13_10_01_4938.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/10/image_03072025_13_10_01_4938.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/10/image_03072025_13_10_01_4938.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370450379"],"photo_id":"1370450379","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7ee23e8d46d6fe453e480b9f745dde6f.jpg","text":"TemporaryFile(/tmp/multipartBody4399811538386296389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751541124385,"filename":"image_03072025_13_10_01_4938.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370450379"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370450379"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.660648107528687 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:12:03.154682
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/11/image_03072025_13_11_01_5263.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/11/image_03072025_13_11_01_5263.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/11/image_03072025_13_11_01_5263.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370450763"],"photo_id":"1370450763","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/8e8a91653b62226485cb4139d3b4d7f8.jpg","text":"TemporaryFile(/tmp/multipartBody1489703937905126458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751541184889,"filename":"image_03072025_13_11_01_5263.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370450763"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370450763"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 17.15079426765442 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:13:03.964457
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/12/image_03072025_13_12_01_2536.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/12/image_03072025_13_12_01_2536.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/12/image_03072025_13_12_01_2536.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370451486"],"photo_id":"1370451486","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/a04cc4466e453cd4497575c261a29fa1.jpg","text":"TemporaryFile(/tmp/multipartBody6837732434680996657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751541245149,"filename":"image_03072025_13_12_01_2536.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370451486"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370451486"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.221821784973145 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:14:03.542268
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/13/image_03072025_13_13_01_6496.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/13/image_03072025_13_13_01_6496.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/13/image_03072025_13_13_01_6496.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370451773"],"photo_id":"1370451773","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b86bc569b5904ad0ad570db4d400dc74.jpg","text":"TemporaryFile(/tmp/multipartBody3105149005006679822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751541304644,"filename":"image_03072025_13_13_01_6496.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370451773"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370451773"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.38232398033142 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:15:04.582811
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/14/image_03072025_13_14_01_8151.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/14/image_03072025_13_14_01_8151.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/14/image_03072025_13_14_01_8151.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370451853"],"photo_id":"1370451853","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2dc31f54b8d19890f6e5fc19772b8263.jpg","text":"TemporaryFile(/tmp/multipartBody7768405589349105181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751541366120,"filename":"image_03072025_13_14_01_8151.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370451853"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370451853"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.939258813858032 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:16:03.556433
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/15/image_03072025_13_15_02_0636.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/15/image_03072025_13_15_02_0636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/15/image_03072025_13_15_02_0636.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370451943"],"photo_id":"1370451943","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2d35caa1d2bf00aa0af7c01a57fbb173.jpg","text":"TemporaryFile(/tmp/multipartBody8484843133323196137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751541424666,"filename":"image_03072025_13_15_02_0636.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370451943"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370451943"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.680028200149536 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:17:03.654284
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:18:03.557560
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:19:03.588014
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/16/image_03072025_13_16_01_7134.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/16/image_03072025_13_16_01_7134.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/16/image_03072025_13_16_01_7134.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370452264"],"photo_id":"1370452264","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/11b606addba33ec6c8aa2639277c3e2a.jpg","text":"TemporaryFile(/tmp/multipartBody7576025769275442940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751541604760,"filename":"image_03072025_13_16_01_7134.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370452264"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370452264"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.545283317565918 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:20:03.450497
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:21:03.690016
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:22:03.340993
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:23:03.498330
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:24:03.405451
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:25:06.248647
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:26:03.511463
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:27:03.868777
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/19/image_03072025_13_19_02_1611.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/19/image_03072025_13_19_02_1611.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/19/image_03072025_13_19_02_1611.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370454074"],"photo_id":"1370454074","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2ceff4fe01e472fd5f008196e9ee74fc.jpg","text":"TemporaryFile(/tmp/multipartBody4619017088724309139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751542085091,"filename":"image_03072025_13_19_02_1611.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370454074"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370454074"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.547651529312134 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:28:02.843413
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:29:03.311860
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:30:03.073209
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/27/image_03072025_13_27_01_4547.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/27/image_03072025_13_27_01_4547.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/27/image_03072025_13_27_01_4547.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7495076656341553 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:31:03.239673
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/27/image_03072025_13_27_01_4547.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/27/image_03072025_13_27_01_4547.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/27/image_03072025_13_27_01_4547.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370454525"],"photo_id":"1370454525","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/4eef715a92aee2ba6796b3c6869d1623.jpg","text":"TemporaryFile(/tmp/multipartBody7049806415354022937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751542324421,"filename":"image_03072025_13_27_01_4547.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370454525"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370454525"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 18.690332174301147 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:32:03.101369
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:33:03.220275
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:34:03.424329
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:35:03.557972
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:36:03.127598
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:37:03.160412
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250603 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250604 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250605 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250606 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250607 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250608 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250609 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250610 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:38:03.076750
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/30/image_03072025_13_30_01_3645.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/30/image_03072025_13_30_01_3645.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/30/image_03072025_13_30_01_3645.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370454799"],"photo_id":"1370454799","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d5abc298e5ad6960ccedfb956305c51e.jpg","text":"TemporaryFile(/tmp/multipartBody6516602253321328097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751542744264,"filename":"image_03072025_13_30_01_3645.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370454799"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370454799"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.206464052200317 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:39:03.478650
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/38/image_03072025_13_38_01_2824.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/38/image_03072025_13_38_01_2824.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/38/image_03072025_13_38_01_2824.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370454847"],"photo_id":"1370454847","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/26c3f713afc279d9a2c2b23c3d5c037f.jpg","text":"TemporaryFile(/tmp/multipartBody6239567237339810462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751542804681,"filename":"image_03072025_13_38_01_2824.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370454847"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370454847"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.373555183410645 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:40:03.334782
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/39/image_03072025_13_39_01_6388.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/39/image_03072025_13_39_01_6388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/39/image_03072025_13_39_01_6388.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370454884"],"photo_id":"1370454884","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/1bf81dbec332c121b65070af1d61934a.jpg","text":"TemporaryFile(/tmp/multipartBody7649125313894462176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751542864471,"filename":"image_03072025_13_39_01_6388.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370454884"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370454884"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.844346284866333 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:41:03.883018
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/40/image_03072025_13_40_01_5649.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/40/image_03072025_13_40_01_5649.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/40/image_03072025_13_40_01_5649.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370454929"],"photo_id":"1370454929","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/bab7e15e0a3bbb41104797281fe44677.jpg","text":"TemporaryFile(/tmp/multipartBody7399291120241639687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751542925105,"filename":"image_03072025_13_40_01_5649.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370454929"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370454929"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.509992361068726 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:42:02.821175
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/41/image_03072025_13_41_01_8302.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/41/image_03072025_13_41_01_8302.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/41/image_03072025_13_41_01_8302.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370454981"],"photo_id":"1370454981","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b6a239cff4941fb31d141634f4800275.jpg","text":"TemporaryFile(/tmp/multipartBody2171574495932345763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751542983991,"filename":"image_03072025_13_41_01_8302.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370454981"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370454981"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.017090320587158 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:43:03.249706
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/42/image_03072025_13_42_01_7719.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/42/image_03072025_13_42_01_7719.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/42/image_03072025_13_42_01_7719.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370455015"],"photo_id":"1370455015","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/95a59e4292de424328011c4887488188.jpg","text":"TemporaryFile(/tmp/multipartBody2872985785738485824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751543044464,"filename":"image_03072025_13_42_01_7719.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370455015"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370455015"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.26297163963318 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:44:03.662951
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/43/image_03072025_13_43_01_3347.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/43/image_03072025_13_43_01_3347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/43/image_03072025_13_43_01_3347.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370455057"],"photo_id":"1370455057","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/902951a7ae2a0ea805a8fb6fc5e347c9.jpg","text":"TemporaryFile(/tmp/multipartBody8846039727317684438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751543104808,"filename":"image_03072025_13_43_01_3347.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370455057"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370455057"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.12865400314331 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:45:03.946127
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/44/image_03072025_13_44_01_5150.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/44/image_03072025_13_44_01_5150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/44/image_03072025_13_44_01_5150.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370455095"],"photo_id":"1370455095","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/d9da7d7a9e9c8c57a93e883906f23b78.jpg","text":"TemporaryFile(/tmp/multipartBody7940960194487948728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751543165151,"filename":"image_03072025_13_44_01_5150.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370455095"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370455095"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.028857469558716 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:46:03.034689
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/45/image_03072025_13_45_02_2194.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/45/image_03072025_13_45_02_2194.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/45/image_03072025_13_45_02_2194.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370455138"],"photo_id":"1370455138","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/7bab6490498a7d7249b1673256bcf1fc.jpg","text":"TemporaryFile(/tmp/multipartBody5932201870548225131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751543224113,"filename":"image_03072025_13_45_02_2194.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370455138"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370455138"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.296799421310425 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:47:03.856212
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/46/image_03072025_13_46_01_3896.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/46/image_03072025_13_46_01_3896.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/46/image_03072025_13_46_01_3896.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370455179"],"photo_id":"1370455179","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/0806559b0d977b9d7180e1d1e91a9fe6.jpg","text":"TemporaryFile(/tmp/multipartBody3825352164674417919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751543285040,"filename":"image_03072025_13_46_01_3896.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370455179"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370455179"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.452243566513062 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:48:02.711169
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/47/image_03072025_13_47_01_5336.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/47/image_03072025_13_47_01_5336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/47/image_03072025_13_47_01_5336.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7089307308197021 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:49:03.884545
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/48/image_03072025_13_48_01_7672.jpg', 2), ('/home/pi/Desktop/images/03072025/13/47/image_03072025_13_47_01_5336.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/48/image_03072025_13_48_01_7672.jpg', '/home/pi/Desktop/images/03072025/13/47/image_03072025_13_47_01_5336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/48/image_03072025_13_48_01_7672.jpg
/home/pi/Desktop/images/03072025/13/47/image_03072025_13_47_01_5336.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370455264","1370455259"],"photo_ids_order":["1370455259","1370455264"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/f9c640dac138d7cea7e6a351ae431609.jpg","text":"TemporaryFile(/tmp/multipartBody1594545381817186378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751543405470,"filename":"image_03072025_13_47_01_5336.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/481236ea25ed8bdb4e05568765bc8b1f.jpg","text":"TemporaryFile(/tmp/multipartBody5171124673320659473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751543405470,"filename":"image_03072025_13_48_01_7672.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370455264","file0":"1370455259"},"map_files_photo_id_array":[{"photo_id":"1370455264","filename":"file1"},{"photo_id":"1370455259","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370455264":["hashtag1","hashtag2"]},{"1370455259":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370455264, 1370455259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.857094049453735 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:50:03.219298
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/50/image_03072025_13_50_02_1296.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/50/image_03072025_13_50_02_1296.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/50/image_03072025_13_50_02_1296.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370455293"],"photo_id":"1370455293","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b25d5c7f141d01522d68db03cf5a8be9.jpg","text":"TemporaryFile(/tmp/multipartBody4726679841600881960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751543464352,"filename":"image_03072025_13_50_02_1296.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370455293"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370455293"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.804908514022827 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:51:03.446459
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/49/image_03072025_13_49_01_3451.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/49/image_03072025_13_49_01_3451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/49/image_03072025_13_49_01_3451.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370455342"],"photo_id":"1370455342","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/5404d06ab0f7be1bdc0cb3fd51b362d8.jpg","text":"TemporaryFile(/tmp/multipartBody5811593265435685254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751543524583,"filename":"image_03072025_13_49_01_3451.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370455342"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370455342"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.799319505691528 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:52:02.832885
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/51/image_03072025_13_51_01_7651.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/51/image_03072025_13_51_01_7651.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/51/image_03072025_13_51_01_7651.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370455386"],"photo_id":"1370455386","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/2b1c6165d4bc7aac57a9f0313c0ab69d.jpg","text":"TemporaryFile(/tmp/multipartBody9173130952366931077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751543583934,"filename":"image_03072025_13_51_01_7651.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370455386"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370455386"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.160644054412842 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:53:04.170063
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/52/image_03072025_13_52_01_5921.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/52/image_03072025_13_52_01_5921.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/52/image_03072025_13_52_01_5921.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370455432"],"photo_id":"1370455432","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/121af1ac18ce1f170e568af967e9e2ea.jpg","text":"TemporaryFile(/tmp/multipartBody5214456418606412666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751543645423,"filename":"image_03072025_13_52_01_5921.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370455432"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370455432"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.177791357040405 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:54:03.249056
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/53/image_03072025_13_53_01_2791.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/53/image_03072025_13_53_01_2791.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/53/image_03072025_13_53_01_2791.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.7280750274658203 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:55:03.204061
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/54/image_03072025_13_54_02_1157.jpg', 2), ('/home/pi/Desktop/images/03072025/13/53/image_03072025_13_53_01_2791.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/54/image_03072025_13_54_02_1157.jpg', '/home/pi/Desktop/images/03072025/13/53/image_03072025_13_53_01_2791.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/54/image_03072025_13_54_02_1157.jpg
/home/pi/Desktop/images/03072025/13/53/image_03072025_13_53_01_2791.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370455521","1370455526"],"photo_ids_order":["1370455521","1370455526"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/b7fc797600fa53738da4055a504c11f3.jpg","text":"TemporaryFile(/tmp/multipartBody6270867733501133571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751543764732,"filename":"image_03072025_13_54_02_1157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/a3c0897a8c5e787059c44b4d223dfedf.jpg","text":"TemporaryFile(/tmp/multipartBody7939539184461539546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751543764732,"filename":"image_03072025_13_53_01_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1370455526","file0":"1370455521"},"map_files_photo_id_array":[{"photo_id":"1370455526","filename":"file1"},{"photo_id":"1370455521","filename":"file0"}],"portfolio_id":24536668,"hashtag_by_photo_ids":[{"1370455521":["hashtag1","hashtag2"]},{"1370455526":["hashtag1","hashtag2"]}],"comms":"Portfolio 24536668 used, photo_id : ArrayBuffer(1370455521, 1370455526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.34382438659668 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:56:02.997688
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/55/image_03072025_13_55_01_8412.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/55/image_03072025_13_55_01_8412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/55/image_03072025_13_55_01_8412.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370455561"],"photo_id":"1370455561","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/085d000bb86c29ef3653fb61a78075a3.jpg","text":"TemporaryFile(/tmp/multipartBody7704230910363900089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751543824099,"filename":"image_03072025_13_55_01_8412.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370455561"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370455561"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.811283111572266 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:57:04.339553
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/56/image_03072025_13_56_01_2944.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/56/image_03072025_13_56_01_2944.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/56/image_03072025_13_56_01_2944.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1370455629"],"photo_id":"1370455629","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/3/763efd89041b0e9628b84eb6817ec748.jpg","text":"TemporaryFile(/tmp/multipartBody3412250392783941410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1751543885494,"filename":"image_03072025_13_56_01_2944.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1370455629"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1370455629"}],"hashtags":[],"portfolio_id":"24536668","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.772773742675781 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 13:59:04.132717
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/58/image_03072025_13_58_02_3150.jpg', 2), ('/home/pi/Desktop/images/03072025/13/57/image_03072025_13_57_01_5297.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/58/image_03072025_13_58_02_3150.jpg', '/home/pi/Desktop/images/03072025/13/57/image_03072025_13_57_01_5297.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/58/image_03072025_13_58_02_3150.jpg
/home/pi/Desktop/images/03072025/13/57/image_03072025_13_57_01_5297.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 10.466849327087402 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 www.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 www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:00:03.648069
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/13/59/image_03072025_13_59_01_9188.jpg', 2), ('/home/pi/Desktop/images/03072025/13/58/image_03072025_13_58_02_3150.jpg', 2), ('/home/pi/Desktop/images/03072025/13/57/image_03072025_13_57_01_5297.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/13/59/image_03072025_13_59_01_9188.jpg', '/home/pi/Desktop/images/03072025/13/58/image_03072025_13_58_02_3150.jpg', '/home/pi/Desktop/images/03072025/13/57/image_03072025_13_57_01_5297.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/13/59/image_03072025_13_59_01_9188.jpg
/home/pi/Desktop/images/03072025/13/58/image_03072025_13_58_02_3150.jpg
/home/pi/Desktop/images/03072025/13/57/image_03072025_13_57_01_5297.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5158312320709229 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:01:04.092321
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/00/image_03072025_14_00_01_9272.jpg', 2), ('/home/pi/Desktop/images/03072025/13/59/image_03072025_13_59_01_9188.jpg', 2), ('/home/pi/Desktop/images/03072025/13/58/image_03072025_13_58_02_3150.jpg', 2), ('/home/pi/Desktop/images/03072025/13/57/image_03072025_13_57_01_5297.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/00/image_03072025_14_00_01_9272.jpg', '/home/pi/Desktop/images/03072025/13/59/image_03072025_13_59_01_9188.jpg', '/home/pi/Desktop/images/03072025/13/58/image_03072025_13_58_02_3150.jpg', '/home/pi/Desktop/images/03072025/13/57/image_03072025_13_57_01_5297.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/00/image_03072025_14_00_01_9272.jpg
/home/pi/Desktop/images/03072025/13/59/image_03072025_13_59_01_9188.jpg
/home/pi/Desktop/images/03072025/13/58/image_03072025_13_58_02_3150.jpg
/home/pi/Desktop/images/03072025/13/57/image_03072025_13_57_01_5297.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.214921236038208 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:02:03.130625
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/01/image_03072025_14_01_02_1647.jpg', 2), ('/home/pi/Desktop/images/03072025/14/00/image_03072025_14_00_01_9272.jpg', 2), ('/home/pi/Desktop/images/03072025/13/59/image_03072025_13_59_01_9188.jpg', 2), ('/home/pi/Desktop/images/03072025/13/58/image_03072025_13_58_02_3150.jpg', 2), ('/home/pi/Desktop/images/03072025/13/57/image_03072025_13_57_01_5297.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/01/image_03072025_14_01_02_1647.jpg', '/home/pi/Desktop/images/03072025/14/00/image_03072025_14_00_01_9272.jpg', '/home/pi/Desktop/images/03072025/13/59/image_03072025_13_59_01_9188.jpg', '/home/pi/Desktop/images/03072025/13/58/image_03072025_13_58_02_3150.jpg', '/home/pi/Desktop/images/03072025/13/57/image_03072025_13_57_01_5297.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/01/image_03072025_14_01_02_1647.jpg
/home/pi/Desktop/images/03072025/14/00/image_03072025_14_00_01_9272.jpg
/home/pi/Desktop/images/03072025/13/59/image_03072025_13_59_01_9188.jpg
/home/pi/Desktop/images/03072025/13/58/image_03072025_13_58_02_3150.jpg
/home/pi/Desktop/images/03072025/13/57/image_03072025_13_57_01_5297.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.178219795227051 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:03:03.502949
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/02/image_03072025_14_02_01_9698.jpg', 2), ('/home/pi/Desktop/images/03072025/14/01/image_03072025_14_01_02_1647.jpg', 2), ('/home/pi/Desktop/images/03072025/14/00/image_03072025_14_00_01_9272.jpg', 2), ('/home/pi/Desktop/images/03072025/13/59/image_03072025_13_59_01_9188.jpg', 2), ('/home/pi/Desktop/images/03072025/13/58/image_03072025_13_58_02_3150.jpg', 2), ('/home/pi/Desktop/images/03072025/13/57/image_03072025_13_57_01_5297.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/02/image_03072025_14_02_01_9698.jpg', '/home/pi/Desktop/images/03072025/14/01/image_03072025_14_01_02_1647.jpg', '/home/pi/Desktop/images/03072025/14/00/image_03072025_14_00_01_9272.jpg', '/home/pi/Desktop/images/03072025/13/59/image_03072025_13_59_01_9188.jpg', '/home/pi/Desktop/images/03072025/13/58/image_03072025_13_58_02_3150.jpg', '/home/pi/Desktop/images/03072025/13/57/image_03072025_13_57_01_5297.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/02/image_03072025_14_02_01_9698.jpg
/home/pi/Desktop/images/03072025/14/01/image_03072025_14_01_02_1647.jpg
/home/pi/Desktop/images/03072025/14/00/image_03072025_14_00_01_9272.jpg
/home/pi/Desktop/images/03072025/13/59/image_03072025_13_59_01_9188.jpg
/home/pi/Desktop/images/03072025/13/58/image_03072025_13_58_02_3150.jpg
/home/pi/Desktop/images/03072025/13/57/image_03072025_13_57_01_5297.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4189281463623047 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:04:03.282653
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/03/image_03072025_14_03_01_7281.jpg', 2), ('/home/pi/Desktop/images/03072025/14/02/image_03072025_14_02_01_9698.jpg', 2), ('/home/pi/Desktop/images/03072025/14/01/image_03072025_14_01_02_1647.jpg', 2), ('/home/pi/Desktop/images/03072025/14/00/image_03072025_14_00_01_9272.jpg', 2), ('/home/pi/Desktop/images/03072025/13/59/image_03072025_13_59_01_9188.jpg', 2), ('/home/pi/Desktop/images/03072025/13/58/image_03072025_13_58_02_3150.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/03/image_03072025_14_03_01_7281.jpg', '/home/pi/Desktop/images/03072025/14/02/image_03072025_14_02_01_9698.jpg', '/home/pi/Desktop/images/03072025/14/01/image_03072025_14_01_02_1647.jpg', '/home/pi/Desktop/images/03072025/14/00/image_03072025_14_00_01_9272.jpg', '/home/pi/Desktop/images/03072025/13/59/image_03072025_13_59_01_9188.jpg', '/home/pi/Desktop/images/03072025/13/58/image_03072025_13_58_02_3150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/03/image_03072025_14_03_01_7281.jpg
/home/pi/Desktop/images/03072025/14/02/image_03072025_14_02_01_9698.jpg
/home/pi/Desktop/images/03072025/14/01/image_03072025_14_01_02_1647.jpg
/home/pi/Desktop/images/03072025/14/00/image_03072025_14_00_01_9272.jpg
/home/pi/Desktop/images/03072025/13/59/image_03072025_13_59_01_9188.jpg
/home/pi/Desktop/images/03072025/13/58/image_03072025_13_58_02_3150.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.401970386505127 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:05:04.338717
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/04/image_03072025_14_04_01_6047.jpg', 2), ('/home/pi/Desktop/images/03072025/14/03/image_03072025_14_03_01_7281.jpg', 2), ('/home/pi/Desktop/images/03072025/14/02/image_03072025_14_02_01_9698.jpg', 2), ('/home/pi/Desktop/images/03072025/14/01/image_03072025_14_01_02_1647.jpg', 2), ('/home/pi/Desktop/images/03072025/14/00/image_03072025_14_00_01_9272.jpg', 2), ('/home/pi/Desktop/images/03072025/13/59/image_03072025_13_59_01_9188.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/04/image_03072025_14_04_01_6047.jpg', '/home/pi/Desktop/images/03072025/14/03/image_03072025_14_03_01_7281.jpg', '/home/pi/Desktop/images/03072025/14/02/image_03072025_14_02_01_9698.jpg', '/home/pi/Desktop/images/03072025/14/01/image_03072025_14_01_02_1647.jpg', '/home/pi/Desktop/images/03072025/14/00/image_03072025_14_00_01_9272.jpg', '/home/pi/Desktop/images/03072025/13/59/image_03072025_13_59_01_9188.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/04/image_03072025_14_04_01_6047.jpg
/home/pi/Desktop/images/03072025/14/03/image_03072025_14_03_01_7281.jpg
/home/pi/Desktop/images/03072025/14/02/image_03072025_14_02_01_9698.jpg
/home/pi/Desktop/images/03072025/14/01/image_03072025_14_01_02_1647.jpg
/home/pi/Desktop/images/03072025/14/00/image_03072025_14_00_01_9272.jpg
/home/pi/Desktop/images/03072025/13/59/image_03072025_13_59_01_9188.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5077667236328125 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:06:03.267748
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/05/image_03072025_14_05_01_9276.jpg', 2), ('/home/pi/Desktop/images/03072025/14/04/image_03072025_14_04_01_6047.jpg', 2), ('/home/pi/Desktop/images/03072025/14/03/image_03072025_14_03_01_7281.jpg', 2), ('/home/pi/Desktop/images/03072025/14/02/image_03072025_14_02_01_9698.jpg', 2), ('/home/pi/Desktop/images/03072025/14/01/image_03072025_14_01_02_1647.jpg', 2), ('/home/pi/Desktop/images/03072025/14/00/image_03072025_14_00_01_9272.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/05/image_03072025_14_05_01_9276.jpg', '/home/pi/Desktop/images/03072025/14/04/image_03072025_14_04_01_6047.jpg', '/home/pi/Desktop/images/03072025/14/03/image_03072025_14_03_01_7281.jpg', '/home/pi/Desktop/images/03072025/14/02/image_03072025_14_02_01_9698.jpg', '/home/pi/Desktop/images/03072025/14/01/image_03072025_14_01_02_1647.jpg', '/home/pi/Desktop/images/03072025/14/00/image_03072025_14_00_01_9272.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/05/image_03072025_14_05_01_9276.jpg
/home/pi/Desktop/images/03072025/14/04/image_03072025_14_04_01_6047.jpg
/home/pi/Desktop/images/03072025/14/03/image_03072025_14_03_01_7281.jpg
/home/pi/Desktop/images/03072025/14/02/image_03072025_14_02_01_9698.jpg
/home/pi/Desktop/images/03072025/14/01/image_03072025_14_01_02_1647.jpg
/home/pi/Desktop/images/03072025/14/00/image_03072025_14_00_01_9272.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.389871120452881 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:07:03.595712
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/06/image_03072025_14_06_01_7282.jpg', 2), ('/home/pi/Desktop/images/03072025/14/05/image_03072025_14_05_01_9276.jpg', 2), ('/home/pi/Desktop/images/03072025/14/04/image_03072025_14_04_01_6047.jpg', 2), ('/home/pi/Desktop/images/03072025/14/03/image_03072025_14_03_01_7281.jpg', 2), ('/home/pi/Desktop/images/03072025/14/02/image_03072025_14_02_01_9698.jpg', 2), ('/home/pi/Desktop/images/03072025/14/01/image_03072025_14_01_02_1647.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/06/image_03072025_14_06_01_7282.jpg', '/home/pi/Desktop/images/03072025/14/05/image_03072025_14_05_01_9276.jpg', '/home/pi/Desktop/images/03072025/14/04/image_03072025_14_04_01_6047.jpg', '/home/pi/Desktop/images/03072025/14/03/image_03072025_14_03_01_7281.jpg', '/home/pi/Desktop/images/03072025/14/02/image_03072025_14_02_01_9698.jpg', '/home/pi/Desktop/images/03072025/14/01/image_03072025_14_01_02_1647.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/06/image_03072025_14_06_01_7282.jpg
/home/pi/Desktop/images/03072025/14/05/image_03072025_14_05_01_9276.jpg
/home/pi/Desktop/images/03072025/14/04/image_03072025_14_04_01_6047.jpg
/home/pi/Desktop/images/03072025/14/03/image_03072025_14_03_01_7281.jpg
/home/pi/Desktop/images/03072025/14/02/image_03072025_14_02_01_9698.jpg
/home/pi/Desktop/images/03072025/14/01/image_03072025_14_01_02_1647.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.61029314994812 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:08:03.935226
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/07/image_03072025_14_07_01_7680.jpg', 2), ('/home/pi/Desktop/images/03072025/14/06/image_03072025_14_06_01_7282.jpg', 2), ('/home/pi/Desktop/images/03072025/14/05/image_03072025_14_05_01_9276.jpg', 2), ('/home/pi/Desktop/images/03072025/14/04/image_03072025_14_04_01_6047.jpg', 2), ('/home/pi/Desktop/images/03072025/14/03/image_03072025_14_03_01_7281.jpg', 2), ('/home/pi/Desktop/images/03072025/14/02/image_03072025_14_02_01_9698.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/07/image_03072025_14_07_01_7680.jpg', '/home/pi/Desktop/images/03072025/14/06/image_03072025_14_06_01_7282.jpg', '/home/pi/Desktop/images/03072025/14/05/image_03072025_14_05_01_9276.jpg', '/home/pi/Desktop/images/03072025/14/04/image_03072025_14_04_01_6047.jpg', '/home/pi/Desktop/images/03072025/14/03/image_03072025_14_03_01_7281.jpg', '/home/pi/Desktop/images/03072025/14/02/image_03072025_14_02_01_9698.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/07/image_03072025_14_07_01_7680.jpg
/home/pi/Desktop/images/03072025/14/06/image_03072025_14_06_01_7282.jpg
/home/pi/Desktop/images/03072025/14/05/image_03072025_14_05_01_9276.jpg
/home/pi/Desktop/images/03072025/14/04/image_03072025_14_04_01_6047.jpg
/home/pi/Desktop/images/03072025/14/03/image_03072025_14_03_01_7281.jpg
/home/pi/Desktop/images/03072025/14/02/image_03072025_14_02_01_9698.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.401787042617798 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:09:03.604515
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg', 2), ('/home/pi/Desktop/images/03072025/14/07/image_03072025_14_07_01_7680.jpg', 2), ('/home/pi/Desktop/images/03072025/14/06/image_03072025_14_06_01_7282.jpg', 2), ('/home/pi/Desktop/images/03072025/14/05/image_03072025_14_05_01_9276.jpg', 2), ('/home/pi/Desktop/images/03072025/14/04/image_03072025_14_04_01_6047.jpg', 2), ('/home/pi/Desktop/images/03072025/14/03/image_03072025_14_03_01_7281.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg', '/home/pi/Desktop/images/03072025/14/07/image_03072025_14_07_01_7680.jpg', '/home/pi/Desktop/images/03072025/14/06/image_03072025_14_06_01_7282.jpg', '/home/pi/Desktop/images/03072025/14/05/image_03072025_14_05_01_9276.jpg', '/home/pi/Desktop/images/03072025/14/04/image_03072025_14_04_01_6047.jpg', '/home/pi/Desktop/images/03072025/14/03/image_03072025_14_03_01_7281.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg
/home/pi/Desktop/images/03072025/14/07/image_03072025_14_07_01_7680.jpg
/home/pi/Desktop/images/03072025/14/06/image_03072025_14_06_01_7282.jpg
/home/pi/Desktop/images/03072025/14/05/image_03072025_14_05_01_9276.jpg
/home/pi/Desktop/images/03072025/14/04/image_03072025_14_04_01_6047.jpg
/home/pi/Desktop/images/03072025/14/03/image_03072025_14_03_01_7281.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.753167152404785 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:10:03.397798
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg', 2), ('/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg', 2), ('/home/pi/Desktop/images/03072025/14/07/image_03072025_14_07_01_7680.jpg', 2), ('/home/pi/Desktop/images/03072025/14/06/image_03072025_14_06_01_7282.jpg', 2), ('/home/pi/Desktop/images/03072025/14/05/image_03072025_14_05_01_9276.jpg', 2), ('/home/pi/Desktop/images/03072025/14/04/image_03072025_14_04_01_6047.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg', '/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg', '/home/pi/Desktop/images/03072025/14/07/image_03072025_14_07_01_7680.jpg', '/home/pi/Desktop/images/03072025/14/06/image_03072025_14_06_01_7282.jpg', '/home/pi/Desktop/images/03072025/14/05/image_03072025_14_05_01_9276.jpg', '/home/pi/Desktop/images/03072025/14/04/image_03072025_14_04_01_6047.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg
/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg
/home/pi/Desktop/images/03072025/14/07/image_03072025_14_07_01_7680.jpg
/home/pi/Desktop/images/03072025/14/06/image_03072025_14_06_01_7282.jpg
/home/pi/Desktop/images/03072025/14/05/image_03072025_14_05_01_9276.jpg
/home/pi/Desktop/images/03072025/14/04/image_03072025_14_04_01_6047.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4020473957061768 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:11:03.866064
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg', 2), ('/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg', 2), ('/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg', 2), ('/home/pi/Desktop/images/03072025/14/07/image_03072025_14_07_01_7680.jpg', 2), ('/home/pi/Desktop/images/03072025/14/06/image_03072025_14_06_01_7282.jpg', 2), ('/home/pi/Desktop/images/03072025/14/05/image_03072025_14_05_01_9276.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg', '/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg', '/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg', '/home/pi/Desktop/images/03072025/14/07/image_03072025_14_07_01_7680.jpg', '/home/pi/Desktop/images/03072025/14/06/image_03072025_14_06_01_7282.jpg', '/home/pi/Desktop/images/03072025/14/05/image_03072025_14_05_01_9276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg
/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg
/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg
/home/pi/Desktop/images/03072025/14/07/image_03072025_14_07_01_7680.jpg
/home/pi/Desktop/images/03072025/14/06/image_03072025_14_06_01_7282.jpg
/home/pi/Desktop/images/03072025/14/05/image_03072025_14_05_01_9276.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4238266944885254 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:12:05.030293
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg', 2), ('/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg', 2), ('/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg', 2), ('/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg', 2), ('/home/pi/Desktop/images/03072025/14/07/image_03072025_14_07_01_7680.jpg', 2), ('/home/pi/Desktop/images/03072025/14/06/image_03072025_14_06_01_7282.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg', '/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg', '/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg', '/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg', '/home/pi/Desktop/images/03072025/14/07/image_03072025_14_07_01_7680.jpg', '/home/pi/Desktop/images/03072025/14/06/image_03072025_14_06_01_7282.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg
/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg
/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg
/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg
/home/pi/Desktop/images/03072025/14/07/image_03072025_14_07_01_7680.jpg
/home/pi/Desktop/images/03072025/14/06/image_03072025_14_06_01_7282.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4286129474639893 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:13:03.337207
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg', 2), ('/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg', 2), ('/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg', 2), ('/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg', 2), ('/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg', 2), ('/home/pi/Desktop/images/03072025/14/07/image_03072025_14_07_01_7680.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg', '/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg', '/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg', '/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg', '/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg', '/home/pi/Desktop/images/03072025/14/07/image_03072025_14_07_01_7680.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg
/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg
/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg
/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg
/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg
/home/pi/Desktop/images/03072025/14/07/image_03072025_14_07_01_7680.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.407284736633301 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:14:03.474062
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg', 2), ('/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg', 2), ('/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg', 2), ('/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg', 2), ('/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg', 2), ('/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg', '/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg', '/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg', '/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg', '/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg', '/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg
/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg
/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg
/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg
/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg
/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6309046745300293 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:15:03.773044
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg', 2), ('/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg', 2), ('/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg', 2), ('/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg', 2), ('/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg', 2), ('/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg', '/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg', '/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg', '/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg', '/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg', '/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg
/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg
/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg
/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg
/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg
/home/pi/Desktop/images/03072025/14/08/image_03072025_14_08_01_7050.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4033703804016113 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:16:04.240640
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg', 2), ('/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg', 2), ('/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg', 2), ('/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg', 2), ('/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg', 2), ('/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg', '/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg', '/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg', '/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg', '/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg', '/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg
/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg
/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg
/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg
/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg
/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4497718811035156 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:17:03.660952
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg', 2), ('/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg', 2), ('/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg', 2), ('/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg', 2), ('/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg', 2), ('/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg', '/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg', '/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg', '/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg', '/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg', '/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg
/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg
/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg
/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg
/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg
/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.058821439743042 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:18:03.500179
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg', 2), ('/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg', 2), ('/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg', 2), ('/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg', 2), ('/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg', 2), ('/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg', '/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg', '/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg', '/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg', '/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg', '/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg
/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg
/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg
/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg
/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg
/home/pi/Desktop/images/03072025/14/09/image_03072025_14_09_01_6607.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5228652954101562 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:19:03.267889
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/16/image_03072025_14_16_01_9747.jpg', 2), ('/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg', 2), ('/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg', 2), ('/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg', 2), ('/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg', 2), ('/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/16/image_03072025_14_16_01_9747.jpg', '/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg', '/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg', '/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg', '/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg', '/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/16/image_03072025_14_16_01_9747.jpg
/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg
/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg
/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg
/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg
/home/pi/Desktop/images/03072025/14/10/image_03072025_14_10_01_5859.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.646521806716919 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:20:03.551232
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/19/image_03072025_14_19_01_9968.jpg', 2), ('/home/pi/Desktop/images/03072025/14/16/image_03072025_14_16_01_9747.jpg', 2), ('/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg', 2), ('/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg', 2), ('/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg', 2), ('/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/19/image_03072025_14_19_01_9968.jpg', '/home/pi/Desktop/images/03072025/14/16/image_03072025_14_16_01_9747.jpg', '/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg', '/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg', '/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg', '/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/19/image_03072025_14_19_01_9968.jpg
/home/pi/Desktop/images/03072025/14/16/image_03072025_14_16_01_9747.jpg
/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg
/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg
/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg
/home/pi/Desktop/images/03072025/14/11/image_03072025_14_11_01_9650.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.961538553237915 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:21:03.735589
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/20/image_03072025_14_20_01_2151.jpg', 2), ('/home/pi/Desktop/images/03072025/14/19/image_03072025_14_19_01_9968.jpg', 2), ('/home/pi/Desktop/images/03072025/14/16/image_03072025_14_16_01_9747.jpg', 2), ('/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg', 2), ('/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg', 2), ('/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/20/image_03072025_14_20_01_2151.jpg', '/home/pi/Desktop/images/03072025/14/19/image_03072025_14_19_01_9968.jpg', '/home/pi/Desktop/images/03072025/14/16/image_03072025_14_16_01_9747.jpg', '/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg', '/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg', '/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/20/image_03072025_14_20_01_2151.jpg
/home/pi/Desktop/images/03072025/14/19/image_03072025_14_19_01_9968.jpg
/home/pi/Desktop/images/03072025/14/16/image_03072025_14_16_01_9747.jpg
/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg
/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg
/home/pi/Desktop/images/03072025/14/12/image_03072025_14_12_01_7777.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8535985946655273 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:22:03.493329
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/21/image_03072025_14_21_02_0160.jpg', 2), ('/home/pi/Desktop/images/03072025/14/20/image_03072025_14_20_01_2151.jpg', 2), ('/home/pi/Desktop/images/03072025/14/19/image_03072025_14_19_01_9968.jpg', 2), ('/home/pi/Desktop/images/03072025/14/16/image_03072025_14_16_01_9747.jpg', 2), ('/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg', 2), ('/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/21/image_03072025_14_21_02_0160.jpg', '/home/pi/Desktop/images/03072025/14/20/image_03072025_14_20_01_2151.jpg', '/home/pi/Desktop/images/03072025/14/19/image_03072025_14_19_01_9968.jpg', '/home/pi/Desktop/images/03072025/14/16/image_03072025_14_16_01_9747.jpg', '/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg', '/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/21/image_03072025_14_21_02_0160.jpg
/home/pi/Desktop/images/03072025/14/20/image_03072025_14_20_01_2151.jpg
/home/pi/Desktop/images/03072025/14/19/image_03072025_14_19_01_9968.jpg
/home/pi/Desktop/images/03072025/14/16/image_03072025_14_16_01_9747.jpg
/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg
/home/pi/Desktop/images/03072025/14/13/image_03072025_14_13_02_1772.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.24713134765625 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:23:03.143129
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/22/image_03072025_14_22_01_8832.jpg', 2), ('/home/pi/Desktop/images/03072025/14/21/image_03072025_14_21_02_0160.jpg', 2), ('/home/pi/Desktop/images/03072025/14/20/image_03072025_14_20_01_2151.jpg', 2), ('/home/pi/Desktop/images/03072025/14/19/image_03072025_14_19_01_9968.jpg', 2), ('/home/pi/Desktop/images/03072025/14/16/image_03072025_14_16_01_9747.jpg', 2), ('/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/22/image_03072025_14_22_01_8832.jpg', '/home/pi/Desktop/images/03072025/14/21/image_03072025_14_21_02_0160.jpg', '/home/pi/Desktop/images/03072025/14/20/image_03072025_14_20_01_2151.jpg', '/home/pi/Desktop/images/03072025/14/19/image_03072025_14_19_01_9968.jpg', '/home/pi/Desktop/images/03072025/14/16/image_03072025_14_16_01_9747.jpg', '/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/22/image_03072025_14_22_01_8832.jpg
/home/pi/Desktop/images/03072025/14/21/image_03072025_14_21_02_0160.jpg
/home/pi/Desktop/images/03072025/14/20/image_03072025_14_20_01_2151.jpg
/home/pi/Desktop/images/03072025/14/19/image_03072025_14_19_01_9968.jpg
/home/pi/Desktop/images/03072025/14/16/image_03072025_14_16_01_9747.jpg
/home/pi/Desktop/images/03072025/14/14/image_03072025_14_14_01_4793.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5336174964904785 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:24:03.635114
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/23/image_03072025_14_23_01_6431.jpg', 2), ('/home/pi/Desktop/images/03072025/14/22/image_03072025_14_22_01_8832.jpg', 2), ('/home/pi/Desktop/images/03072025/14/21/image_03072025_14_21_02_0160.jpg', 2), ('/home/pi/Desktop/images/03072025/14/20/image_03072025_14_20_01_2151.jpg', 2), ('/home/pi/Desktop/images/03072025/14/19/image_03072025_14_19_01_9968.jpg', 2), ('/home/pi/Desktop/images/03072025/14/16/image_03072025_14_16_01_9747.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/23/image_03072025_14_23_01_6431.jpg', '/home/pi/Desktop/images/03072025/14/22/image_03072025_14_22_01_8832.jpg', '/home/pi/Desktop/images/03072025/14/21/image_03072025_14_21_02_0160.jpg', '/home/pi/Desktop/images/03072025/14/20/image_03072025_14_20_01_2151.jpg', '/home/pi/Desktop/images/03072025/14/19/image_03072025_14_19_01_9968.jpg', '/home/pi/Desktop/images/03072025/14/16/image_03072025_14_16_01_9747.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/23/image_03072025_14_23_01_6431.jpg
/home/pi/Desktop/images/03072025/14/22/image_03072025_14_22_01_8832.jpg
/home/pi/Desktop/images/03072025/14/21/image_03072025_14_21_02_0160.jpg
/home/pi/Desktop/images/03072025/14/20/image_03072025_14_20_01_2151.jpg
/home/pi/Desktop/images/03072025/14/19/image_03072025_14_19_01_9968.jpg
/home/pi/Desktop/images/03072025/14/16/image_03072025_14_16_01_9747.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.700272560119629 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:25:06.225109
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/24/image_03072025_14_24_01_1777.jpg', 2), ('/home/pi/Desktop/images/03072025/14/23/image_03072025_14_23_01_6431.jpg', 2), ('/home/pi/Desktop/images/03072025/14/22/image_03072025_14_22_01_8832.jpg', 2), ('/home/pi/Desktop/images/03072025/14/21/image_03072025_14_21_02_0160.jpg', 2), ('/home/pi/Desktop/images/03072025/14/20/image_03072025_14_20_01_2151.jpg', 2), ('/home/pi/Desktop/images/03072025/14/19/image_03072025_14_19_01_9968.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/24/image_03072025_14_24_01_1777.jpg', '/home/pi/Desktop/images/03072025/14/23/image_03072025_14_23_01_6431.jpg', '/home/pi/Desktop/images/03072025/14/22/image_03072025_14_22_01_8832.jpg', '/home/pi/Desktop/images/03072025/14/21/image_03072025_14_21_02_0160.jpg', '/home/pi/Desktop/images/03072025/14/20/image_03072025_14_20_01_2151.jpg', '/home/pi/Desktop/images/03072025/14/19/image_03072025_14_19_01_9968.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/24/image_03072025_14_24_01_1777.jpg
/home/pi/Desktop/images/03072025/14/23/image_03072025_14_23_01_6431.jpg
/home/pi/Desktop/images/03072025/14/22/image_03072025_14_22_01_8832.jpg
/home/pi/Desktop/images/03072025/14/21/image_03072025_14_21_02_0160.jpg
/home/pi/Desktop/images/03072025/14/20/image_03072025_14_20_01_2151.jpg
/home/pi/Desktop/images/03072025/14/19/image_03072025_14_19_01_9968.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.234058141708374 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:26:03.368851
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/25/image_03072025_14_25_01_7653.jpg', 2), ('/home/pi/Desktop/images/03072025/14/24/image_03072025_14_24_01_1777.jpg', 2), ('/home/pi/Desktop/images/03072025/14/23/image_03072025_14_23_01_6431.jpg', 2), ('/home/pi/Desktop/images/03072025/14/22/image_03072025_14_22_01_8832.jpg', 2), ('/home/pi/Desktop/images/03072025/14/21/image_03072025_14_21_02_0160.jpg', 2), ('/home/pi/Desktop/images/03072025/14/20/image_03072025_14_20_01_2151.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/25/image_03072025_14_25_01_7653.jpg', '/home/pi/Desktop/images/03072025/14/24/image_03072025_14_24_01_1777.jpg', '/home/pi/Desktop/images/03072025/14/23/image_03072025_14_23_01_6431.jpg', '/home/pi/Desktop/images/03072025/14/22/image_03072025_14_22_01_8832.jpg', '/home/pi/Desktop/images/03072025/14/21/image_03072025_14_21_02_0160.jpg', '/home/pi/Desktop/images/03072025/14/20/image_03072025_14_20_01_2151.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/25/image_03072025_14_25_01_7653.jpg
/home/pi/Desktop/images/03072025/14/24/image_03072025_14_24_01_1777.jpg
/home/pi/Desktop/images/03072025/14/23/image_03072025_14_23_01_6431.jpg
/home/pi/Desktop/images/03072025/14/22/image_03072025_14_22_01_8832.jpg
/home/pi/Desktop/images/03072025/14/21/image_03072025_14_21_02_0160.jpg
/home/pi/Desktop/images/03072025/14/20/image_03072025_14_20_01_2151.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.394474506378174 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:27:03.976576
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg', 2), ('/home/pi/Desktop/images/03072025/14/25/image_03072025_14_25_01_7653.jpg', 2), ('/home/pi/Desktop/images/03072025/14/24/image_03072025_14_24_01_1777.jpg', 2), ('/home/pi/Desktop/images/03072025/14/23/image_03072025_14_23_01_6431.jpg', 2), ('/home/pi/Desktop/images/03072025/14/22/image_03072025_14_22_01_8832.jpg', 2), ('/home/pi/Desktop/images/03072025/14/21/image_03072025_14_21_02_0160.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg', '/home/pi/Desktop/images/03072025/14/25/image_03072025_14_25_01_7653.jpg', '/home/pi/Desktop/images/03072025/14/24/image_03072025_14_24_01_1777.jpg', '/home/pi/Desktop/images/03072025/14/23/image_03072025_14_23_01_6431.jpg', '/home/pi/Desktop/images/03072025/14/22/image_03072025_14_22_01_8832.jpg', '/home/pi/Desktop/images/03072025/14/21/image_03072025_14_21_02_0160.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg
/home/pi/Desktop/images/03072025/14/25/image_03072025_14_25_01_7653.jpg
/home/pi/Desktop/images/03072025/14/24/image_03072025_14_24_01_1777.jpg
/home/pi/Desktop/images/03072025/14/23/image_03072025_14_23_01_6431.jpg
/home/pi/Desktop/images/03072025/14/22/image_03072025_14_22_01_8832.jpg
/home/pi/Desktop/images/03072025/14/21/image_03072025_14_21_02_0160.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4609148502349854 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:28:02.788778
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg', 2), ('/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg', 2), ('/home/pi/Desktop/images/03072025/14/25/image_03072025_14_25_01_7653.jpg', 2), ('/home/pi/Desktop/images/03072025/14/24/image_03072025_14_24_01_1777.jpg', 2), ('/home/pi/Desktop/images/03072025/14/23/image_03072025_14_23_01_6431.jpg', 2), ('/home/pi/Desktop/images/03072025/14/22/image_03072025_14_22_01_8832.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg', '/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg', '/home/pi/Desktop/images/03072025/14/25/image_03072025_14_25_01_7653.jpg', '/home/pi/Desktop/images/03072025/14/24/image_03072025_14_24_01_1777.jpg', '/home/pi/Desktop/images/03072025/14/23/image_03072025_14_23_01_6431.jpg', '/home/pi/Desktop/images/03072025/14/22/image_03072025_14_22_01_8832.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg
/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg
/home/pi/Desktop/images/03072025/14/25/image_03072025_14_25_01_7653.jpg
/home/pi/Desktop/images/03072025/14/24/image_03072025_14_24_01_1777.jpg
/home/pi/Desktop/images/03072025/14/23/image_03072025_14_23_01_6431.jpg
/home/pi/Desktop/images/03072025/14/22/image_03072025_14_22_01_8832.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.454634666442871 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:29:03.405651
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg', 2), ('/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg', 2), ('/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg', 2), ('/home/pi/Desktop/images/03072025/14/25/image_03072025_14_25_01_7653.jpg', 2), ('/home/pi/Desktop/images/03072025/14/24/image_03072025_14_24_01_1777.jpg', 2), ('/home/pi/Desktop/images/03072025/14/23/image_03072025_14_23_01_6431.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg', '/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg', '/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg', '/home/pi/Desktop/images/03072025/14/25/image_03072025_14_25_01_7653.jpg', '/home/pi/Desktop/images/03072025/14/24/image_03072025_14_24_01_1777.jpg', '/home/pi/Desktop/images/03072025/14/23/image_03072025_14_23_01_6431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg
/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg
/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg
/home/pi/Desktop/images/03072025/14/25/image_03072025_14_25_01_7653.jpg
/home/pi/Desktop/images/03072025/14/24/image_03072025_14_24_01_1777.jpg
/home/pi/Desktop/images/03072025/14/23/image_03072025_14_23_01_6431.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.46897554397583 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:30:03.492226
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg', 2), ('/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg', 2), ('/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg', 2), ('/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg', 2), ('/home/pi/Desktop/images/03072025/14/25/image_03072025_14_25_01_7653.jpg', 2), ('/home/pi/Desktop/images/03072025/14/24/image_03072025_14_24_01_1777.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg', '/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg', '/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg', '/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg', '/home/pi/Desktop/images/03072025/14/25/image_03072025_14_25_01_7653.jpg', '/home/pi/Desktop/images/03072025/14/24/image_03072025_14_24_01_1777.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg
/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg
/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg
/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg
/home/pi/Desktop/images/03072025/14/25/image_03072025_14_25_01_7653.jpg
/home/pi/Desktop/images/03072025/14/24/image_03072025_14_24_01_1777.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4465627670288086 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:31:03.989432
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg', 2), ('/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg', 2), ('/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg', 2), ('/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg', 2), ('/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg', 2), ('/home/pi/Desktop/images/03072025/14/25/image_03072025_14_25_01_7653.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg', '/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg', '/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg', '/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg', '/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg', '/home/pi/Desktop/images/03072025/14/25/image_03072025_14_25_01_7653.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg
/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg
/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg
/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg
/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg
/home/pi/Desktop/images/03072025/14/25/image_03072025_14_25_01_7653.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7647690773010254 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:32:03.013041
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg', 2), ('/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg', 2), ('/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg', 2), ('/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg', 2), ('/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg', 2), ('/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg', '/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg', '/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg', '/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg', '/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg', '/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg
/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg
/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg
/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg
/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg
/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9713339805603027 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:33:03.597048
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg', 2), ('/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg', 2), ('/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg', 2), ('/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg', 2), ('/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg', 2), ('/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg', '/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg', '/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg', '/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg', '/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg', '/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg
/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg
/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg
/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg
/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg
/home/pi/Desktop/images/03072025/14/26/image_03072025_14_26_01_7459.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.947014808654785 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:34:04.535330
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg', 2), ('/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg', 2), ('/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg', 2), ('/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg', 2), ('/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg', 2), ('/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg', '/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg', '/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg', '/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg', '/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg', '/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg
/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg
/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg
/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg
/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg
/home/pi/Desktop/images/03072025/14/27/image_03072025_14_27_01_2765.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.551243543624878 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:35:03.998129
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg', 2), ('/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg', 2), ('/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg', 2), ('/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg', 2), ('/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg', 2), ('/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg', '/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg', '/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg', '/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg', '/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg', '/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg
/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg
/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg
/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg
/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg
/home/pi/Desktop/images/03072025/14/28/image_03072025_14_28_01_9139.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.024597406387329 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:36:03.478797
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg', 2), ('/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg', 2), ('/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg', 2), ('/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg', 2), ('/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg', 2), ('/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg', '/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg', '/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg', '/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg', '/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg', '/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg
/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg
/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg
/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg
/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg
/home/pi/Desktop/images/03072025/14/29/image_03072025_14_29_01_4037.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.73661470413208 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:37:03.795280
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg', 2), ('/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg', 2), ('/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg', 2), ('/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg', 2), ('/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg', 2), ('/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg', '/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg', '/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg', '/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg', '/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg', '/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg
/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg
/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg
/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg
/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg
/home/pi/Desktop/images/03072025/14/30/image_03072025_14_30_01_5937.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0613162517547607 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:38:04.768372
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg', 2), ('/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg', 2), ('/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg', 2), ('/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg', 2), ('/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg', 2), ('/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg', '/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg', '/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg', '/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg', '/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg', '/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg
/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg
/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg
/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg
/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg
/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.531318664550781 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:39:03.698558
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg', 2), ('/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg', 2), ('/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg', 2), ('/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg', 2), ('/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg', 2), ('/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg', '/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg', '/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg', '/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg', '/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg', '/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg
/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg
/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg
/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg
/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg
/home/pi/Desktop/images/03072025/14/31/image_03072025_14_31_01_9935.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0378611087799072 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:40:03.205870
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg', 2), ('/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg', 2), ('/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg', 2), ('/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg', 2), ('/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg', 2), ('/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg', '/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg', '/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg', '/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg', '/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg', '/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg
/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg
/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg
/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg
/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg
/home/pi/Desktop/images/03072025/14/32/image_03072025_14_32_02_0222.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2347238063812256 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:41:03.438786
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg', 2), ('/home/pi/Desktop/images/03072025/14/38/image_03072025_14_38_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg', 2), ('/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg', 2), ('/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg', 2), ('/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg', '/home/pi/Desktop/images/03072025/14/38/image_03072025_14_38_01_7646.jpg', '/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg', '/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg', '/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg', '/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg
/home/pi/Desktop/images/03072025/14/38/image_03072025_14_38_01_7646.jpg
/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg
/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg
/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg
/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6536121368408203 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:42:03.320774
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg', 2), ('/home/pi/Desktop/images/03072025/14/38/image_03072025_14_38_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg', 2), ('/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg', 2), ('/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg', 2), ('/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg', '/home/pi/Desktop/images/03072025/14/38/image_03072025_14_38_01_7646.jpg', '/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg', '/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg', '/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg', '/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg
/home/pi/Desktop/images/03072025/14/38/image_03072025_14_38_01_7646.jpg
/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg
/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg
/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg
/home/pi/Desktop/images/03072025/14/34/image_03072025_14_34_01_5607.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6827046871185303 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:43:03.547205
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/41/image_03072025_14_41_01_6470.jpg', 2), ('/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg', 2), ('/home/pi/Desktop/images/03072025/14/38/image_03072025_14_38_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg', 2), ('/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg', 2), ('/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/41/image_03072025_14_41_01_6470.jpg', '/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg', '/home/pi/Desktop/images/03072025/14/38/image_03072025_14_38_01_7646.jpg', '/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg', '/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg', '/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/41/image_03072025_14_41_01_6470.jpg
/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg
/home/pi/Desktop/images/03072025/14/38/image_03072025_14_38_01_7646.jpg
/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg
/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg
/home/pi/Desktop/images/03072025/14/35/image_03072025_14_35_01_8807.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.62519907951355 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:44:02.875301
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/43/image_03072025_14_43_01_8737.jpg', 2), ('/home/pi/Desktop/images/03072025/14/41/image_03072025_14_41_01_6470.jpg', 2), ('/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg', 2), ('/home/pi/Desktop/images/03072025/14/38/image_03072025_14_38_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg', 2), ('/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/43/image_03072025_14_43_01_8737.jpg', '/home/pi/Desktop/images/03072025/14/41/image_03072025_14_41_01_6470.jpg', '/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg', '/home/pi/Desktop/images/03072025/14/38/image_03072025_14_38_01_7646.jpg', '/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg', '/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/43/image_03072025_14_43_01_8737.jpg
/home/pi/Desktop/images/03072025/14/41/image_03072025_14_41_01_6470.jpg
/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg
/home/pi/Desktop/images/03072025/14/38/image_03072025_14_38_01_7646.jpg
/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg
/home/pi/Desktop/images/03072025/14/36/image_03072025_14_36_01_9835.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5618202686309814 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:45:03.459271
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/44/image_03072025_14_44_01_7652.jpg', 2), ('/home/pi/Desktop/images/03072025/14/43/image_03072025_14_43_01_8737.jpg', 2), ('/home/pi/Desktop/images/03072025/14/41/image_03072025_14_41_01_6470.jpg', 2), ('/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg', 2), ('/home/pi/Desktop/images/03072025/14/38/image_03072025_14_38_01_7646.jpg', 2), ('/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/44/image_03072025_14_44_01_7652.jpg', '/home/pi/Desktop/images/03072025/14/43/image_03072025_14_43_01_8737.jpg', '/home/pi/Desktop/images/03072025/14/41/image_03072025_14_41_01_6470.jpg', '/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg', '/home/pi/Desktop/images/03072025/14/38/image_03072025_14_38_01_7646.jpg', '/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/44/image_03072025_14_44_01_7652.jpg
/home/pi/Desktop/images/03072025/14/43/image_03072025_14_43_01_8737.jpg
/home/pi/Desktop/images/03072025/14/41/image_03072025_14_41_01_6470.jpg
/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg
/home/pi/Desktop/images/03072025/14/38/image_03072025_14_38_01_7646.jpg
/home/pi/Desktop/images/03072025/14/37/image_03072025_14_37_01_9447.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7068216800689697 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:46:03.339024
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/45/image_03072025_14_45_01_2592.jpg', 2), ('/home/pi/Desktop/images/03072025/14/44/image_03072025_14_44_01_7652.jpg', 2), ('/home/pi/Desktop/images/03072025/14/43/image_03072025_14_43_01_8737.jpg', 2), ('/home/pi/Desktop/images/03072025/14/41/image_03072025_14_41_01_6470.jpg', 2), ('/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg', 2), ('/home/pi/Desktop/images/03072025/14/38/image_03072025_14_38_01_7646.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/45/image_03072025_14_45_01_2592.jpg', '/home/pi/Desktop/images/03072025/14/44/image_03072025_14_44_01_7652.jpg', '/home/pi/Desktop/images/03072025/14/43/image_03072025_14_43_01_8737.jpg', '/home/pi/Desktop/images/03072025/14/41/image_03072025_14_41_01_6470.jpg', '/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg', '/home/pi/Desktop/images/03072025/14/38/image_03072025_14_38_01_7646.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/45/image_03072025_14_45_01_2592.jpg
/home/pi/Desktop/images/03072025/14/44/image_03072025_14_44_01_7652.jpg
/home/pi/Desktop/images/03072025/14/43/image_03072025_14_43_01_8737.jpg
/home/pi/Desktop/images/03072025/14/41/image_03072025_14_41_01_6470.jpg
/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg
/home/pi/Desktop/images/03072025/14/38/image_03072025_14_38_01_7646.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.653268337249756 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:47:03.878038
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/46/image_03072025_14_46_01_2019.jpg', 2), ('/home/pi/Desktop/images/03072025/14/45/image_03072025_14_45_01_2592.jpg', 2), ('/home/pi/Desktop/images/03072025/14/44/image_03072025_14_44_01_7652.jpg', 2), ('/home/pi/Desktop/images/03072025/14/43/image_03072025_14_43_01_8737.jpg', 2), ('/home/pi/Desktop/images/03072025/14/41/image_03072025_14_41_01_6470.jpg', 2), ('/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/46/image_03072025_14_46_01_2019.jpg', '/home/pi/Desktop/images/03072025/14/45/image_03072025_14_45_01_2592.jpg', '/home/pi/Desktop/images/03072025/14/44/image_03072025_14_44_01_7652.jpg', '/home/pi/Desktop/images/03072025/14/43/image_03072025_14_43_01_8737.jpg', '/home/pi/Desktop/images/03072025/14/41/image_03072025_14_41_01_6470.jpg', '/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/46/image_03072025_14_46_01_2019.jpg
/home/pi/Desktop/images/03072025/14/45/image_03072025_14_45_01_2592.jpg
/home/pi/Desktop/images/03072025/14/44/image_03072025_14_44_01_7652.jpg
/home/pi/Desktop/images/03072025/14/43/image_03072025_14_43_01_8737.jpg
/home/pi/Desktop/images/03072025/14/41/image_03072025_14_41_01_6470.jpg
/home/pi/Desktop/images/03072025/14/40/image_03072025_14_40_01_7589.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.515587329864502 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:48:02.736192
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/47/image_03072025_14_47_01_7499.jpg', 2), ('/home/pi/Desktop/images/03072025/14/46/image_03072025_14_46_01_2019.jpg', 2), ('/home/pi/Desktop/images/03072025/14/45/image_03072025_14_45_01_2592.jpg', 2), ('/home/pi/Desktop/images/03072025/14/44/image_03072025_14_44_01_7652.jpg', 2), ('/home/pi/Desktop/images/03072025/14/43/image_03072025_14_43_01_8737.jpg', 2), ('/home/pi/Desktop/images/03072025/14/41/image_03072025_14_41_01_6470.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/47/image_03072025_14_47_01_7499.jpg', '/home/pi/Desktop/images/03072025/14/46/image_03072025_14_46_01_2019.jpg', '/home/pi/Desktop/images/03072025/14/45/image_03072025_14_45_01_2592.jpg', '/home/pi/Desktop/images/03072025/14/44/image_03072025_14_44_01_7652.jpg', '/home/pi/Desktop/images/03072025/14/43/image_03072025_14_43_01_8737.jpg', '/home/pi/Desktop/images/03072025/14/41/image_03072025_14_41_01_6470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/47/image_03072025_14_47_01_7499.jpg
/home/pi/Desktop/images/03072025/14/46/image_03072025_14_46_01_2019.jpg
/home/pi/Desktop/images/03072025/14/45/image_03072025_14_45_01_2592.jpg
/home/pi/Desktop/images/03072025/14/44/image_03072025_14_44_01_7652.jpg
/home/pi/Desktop/images/03072025/14/43/image_03072025_14_43_01_8737.jpg
/home/pi/Desktop/images/03072025/14/41/image_03072025_14_41_01_6470.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3799686431884766 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:49:04.183574
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/48/image_03072025_14_48_01_7299.jpg', 2), ('/home/pi/Desktop/images/03072025/14/47/image_03072025_14_47_01_7499.jpg', 2), ('/home/pi/Desktop/images/03072025/14/46/image_03072025_14_46_01_2019.jpg', 2), ('/home/pi/Desktop/images/03072025/14/45/image_03072025_14_45_01_2592.jpg', 2), ('/home/pi/Desktop/images/03072025/14/44/image_03072025_14_44_01_7652.jpg', 2), ('/home/pi/Desktop/images/03072025/14/43/image_03072025_14_43_01_8737.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/48/image_03072025_14_48_01_7299.jpg', '/home/pi/Desktop/images/03072025/14/47/image_03072025_14_47_01_7499.jpg', '/home/pi/Desktop/images/03072025/14/46/image_03072025_14_46_01_2019.jpg', '/home/pi/Desktop/images/03072025/14/45/image_03072025_14_45_01_2592.jpg', '/home/pi/Desktop/images/03072025/14/44/image_03072025_14_44_01_7652.jpg', '/home/pi/Desktop/images/03072025/14/43/image_03072025_14_43_01_8737.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/48/image_03072025_14_48_01_7299.jpg
/home/pi/Desktop/images/03072025/14/47/image_03072025_14_47_01_7499.jpg
/home/pi/Desktop/images/03072025/14/46/image_03072025_14_46_01_2019.jpg
/home/pi/Desktop/images/03072025/14/45/image_03072025_14_45_01_2592.jpg
/home/pi/Desktop/images/03072025/14/44/image_03072025_14_44_01_7652.jpg
/home/pi/Desktop/images/03072025/14/43/image_03072025_14_43_01_8737.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.521009683609009 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:50:02.963501
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/49/image_03072025_14_49_01_2636.jpg', 2), ('/home/pi/Desktop/images/03072025/14/48/image_03072025_14_48_01_7299.jpg', 2), ('/home/pi/Desktop/images/03072025/14/47/image_03072025_14_47_01_7499.jpg', 2), ('/home/pi/Desktop/images/03072025/14/46/image_03072025_14_46_01_2019.jpg', 2), ('/home/pi/Desktop/images/03072025/14/45/image_03072025_14_45_01_2592.jpg', 2), ('/home/pi/Desktop/images/03072025/14/44/image_03072025_14_44_01_7652.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/49/image_03072025_14_49_01_2636.jpg', '/home/pi/Desktop/images/03072025/14/48/image_03072025_14_48_01_7299.jpg', '/home/pi/Desktop/images/03072025/14/47/image_03072025_14_47_01_7499.jpg', '/home/pi/Desktop/images/03072025/14/46/image_03072025_14_46_01_2019.jpg', '/home/pi/Desktop/images/03072025/14/45/image_03072025_14_45_01_2592.jpg', '/home/pi/Desktop/images/03072025/14/44/image_03072025_14_44_01_7652.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/49/image_03072025_14_49_01_2636.jpg
/home/pi/Desktop/images/03072025/14/48/image_03072025_14_48_01_7299.jpg
/home/pi/Desktop/images/03072025/14/47/image_03072025_14_47_01_7499.jpg
/home/pi/Desktop/images/03072025/14/46/image_03072025_14_46_01_2019.jpg
/home/pi/Desktop/images/03072025/14/45/image_03072025_14_45_01_2592.jpg
/home/pi/Desktop/images/03072025/14/44/image_03072025_14_44_01_7652.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4164905548095703 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:51:03.473188
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/50/image_03072025_14_50_02_2886.jpg', 2), ('/home/pi/Desktop/images/03072025/14/49/image_03072025_14_49_01_2636.jpg', 2), ('/home/pi/Desktop/images/03072025/14/48/image_03072025_14_48_01_7299.jpg', 2), ('/home/pi/Desktop/images/03072025/14/47/image_03072025_14_47_01_7499.jpg', 2), ('/home/pi/Desktop/images/03072025/14/46/image_03072025_14_46_01_2019.jpg', 2), ('/home/pi/Desktop/images/03072025/14/45/image_03072025_14_45_01_2592.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/50/image_03072025_14_50_02_2886.jpg', '/home/pi/Desktop/images/03072025/14/49/image_03072025_14_49_01_2636.jpg', '/home/pi/Desktop/images/03072025/14/48/image_03072025_14_48_01_7299.jpg', '/home/pi/Desktop/images/03072025/14/47/image_03072025_14_47_01_7499.jpg', '/home/pi/Desktop/images/03072025/14/46/image_03072025_14_46_01_2019.jpg', '/home/pi/Desktop/images/03072025/14/45/image_03072025_14_45_01_2592.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/50/image_03072025_14_50_02_2886.jpg
/home/pi/Desktop/images/03072025/14/49/image_03072025_14_49_01_2636.jpg
/home/pi/Desktop/images/03072025/14/48/image_03072025_14_48_01_7299.jpg
/home/pi/Desktop/images/03072025/14/47/image_03072025_14_47_01_7499.jpg
/home/pi/Desktop/images/03072025/14/46/image_03072025_14_46_01_2019.jpg
/home/pi/Desktop/images/03072025/14/45/image_03072025_14_45_01_2592.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4838976860046387 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:52:04.442960
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/51/image_03072025_14_51_01_5466.jpg', 2), ('/home/pi/Desktop/images/03072025/14/50/image_03072025_14_50_02_2886.jpg', 2), ('/home/pi/Desktop/images/03072025/14/49/image_03072025_14_49_01_2636.jpg', 2), ('/home/pi/Desktop/images/03072025/14/48/image_03072025_14_48_01_7299.jpg', 2), ('/home/pi/Desktop/images/03072025/14/47/image_03072025_14_47_01_7499.jpg', 2), ('/home/pi/Desktop/images/03072025/14/46/image_03072025_14_46_01_2019.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/51/image_03072025_14_51_01_5466.jpg', '/home/pi/Desktop/images/03072025/14/50/image_03072025_14_50_02_2886.jpg', '/home/pi/Desktop/images/03072025/14/49/image_03072025_14_49_01_2636.jpg', '/home/pi/Desktop/images/03072025/14/48/image_03072025_14_48_01_7299.jpg', '/home/pi/Desktop/images/03072025/14/47/image_03072025_14_47_01_7499.jpg', '/home/pi/Desktop/images/03072025/14/46/image_03072025_14_46_01_2019.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/51/image_03072025_14_51_01_5466.jpg
/home/pi/Desktop/images/03072025/14/50/image_03072025_14_50_02_2886.jpg
/home/pi/Desktop/images/03072025/14/49/image_03072025_14_49_01_2636.jpg
/home/pi/Desktop/images/03072025/14/48/image_03072025_14_48_01_7299.jpg
/home/pi/Desktop/images/03072025/14/47/image_03072025_14_47_01_7499.jpg
/home/pi/Desktop/images/03072025/14/46/image_03072025_14_46_01_2019.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.535045862197876 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:53:04.105294
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/52/image_03072025_14_52_01_3866.jpg', 2), ('/home/pi/Desktop/images/03072025/14/51/image_03072025_14_51_01_5466.jpg', 2), ('/home/pi/Desktop/images/03072025/14/50/image_03072025_14_50_02_2886.jpg', 2), ('/home/pi/Desktop/images/03072025/14/49/image_03072025_14_49_01_2636.jpg', 2), ('/home/pi/Desktop/images/03072025/14/48/image_03072025_14_48_01_7299.jpg', 2), ('/home/pi/Desktop/images/03072025/14/47/image_03072025_14_47_01_7499.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/52/image_03072025_14_52_01_3866.jpg', '/home/pi/Desktop/images/03072025/14/51/image_03072025_14_51_01_5466.jpg', '/home/pi/Desktop/images/03072025/14/50/image_03072025_14_50_02_2886.jpg', '/home/pi/Desktop/images/03072025/14/49/image_03072025_14_49_01_2636.jpg', '/home/pi/Desktop/images/03072025/14/48/image_03072025_14_48_01_7299.jpg', '/home/pi/Desktop/images/03072025/14/47/image_03072025_14_47_01_7499.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/52/image_03072025_14_52_01_3866.jpg
/home/pi/Desktop/images/03072025/14/51/image_03072025_14_51_01_5466.jpg
/home/pi/Desktop/images/03072025/14/50/image_03072025_14_50_02_2886.jpg
/home/pi/Desktop/images/03072025/14/49/image_03072025_14_49_01_2636.jpg
/home/pi/Desktop/images/03072025/14/48/image_03072025_14_48_01_7299.jpg
/home/pi/Desktop/images/03072025/14/47/image_03072025_14_47_01_7499.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4817256927490234 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:54:03.237668
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/53/image_03072025_14_53_01_3556.jpg', 2), ('/home/pi/Desktop/images/03072025/14/52/image_03072025_14_52_01_3866.jpg', 2), ('/home/pi/Desktop/images/03072025/14/51/image_03072025_14_51_01_5466.jpg', 2), ('/home/pi/Desktop/images/03072025/14/50/image_03072025_14_50_02_2886.jpg', 2), ('/home/pi/Desktop/images/03072025/14/49/image_03072025_14_49_01_2636.jpg', 2), ('/home/pi/Desktop/images/03072025/14/48/image_03072025_14_48_01_7299.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/53/image_03072025_14_53_01_3556.jpg', '/home/pi/Desktop/images/03072025/14/52/image_03072025_14_52_01_3866.jpg', '/home/pi/Desktop/images/03072025/14/51/image_03072025_14_51_01_5466.jpg', '/home/pi/Desktop/images/03072025/14/50/image_03072025_14_50_02_2886.jpg', '/home/pi/Desktop/images/03072025/14/49/image_03072025_14_49_01_2636.jpg', '/home/pi/Desktop/images/03072025/14/48/image_03072025_14_48_01_7299.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/53/image_03072025_14_53_01_3556.jpg
/home/pi/Desktop/images/03072025/14/52/image_03072025_14_52_01_3866.jpg
/home/pi/Desktop/images/03072025/14/51/image_03072025_14_51_01_5466.jpg
/home/pi/Desktop/images/03072025/14/50/image_03072025_14_50_02_2886.jpg
/home/pi/Desktop/images/03072025/14/49/image_03072025_14_49_01_2636.jpg
/home/pi/Desktop/images/03072025/14/48/image_03072025_14_48_01_7299.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5566632747650146 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:55:03.690579
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/54/image_03072025_14_54_02_0496.jpg', 2), ('/home/pi/Desktop/images/03072025/14/53/image_03072025_14_53_01_3556.jpg', 2), ('/home/pi/Desktop/images/03072025/14/52/image_03072025_14_52_01_3866.jpg', 2), ('/home/pi/Desktop/images/03072025/14/51/image_03072025_14_51_01_5466.jpg', 2), ('/home/pi/Desktop/images/03072025/14/50/image_03072025_14_50_02_2886.jpg', 2), ('/home/pi/Desktop/images/03072025/14/49/image_03072025_14_49_01_2636.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/54/image_03072025_14_54_02_0496.jpg', '/home/pi/Desktop/images/03072025/14/53/image_03072025_14_53_01_3556.jpg', '/home/pi/Desktop/images/03072025/14/52/image_03072025_14_52_01_3866.jpg', '/home/pi/Desktop/images/03072025/14/51/image_03072025_14_51_01_5466.jpg', '/home/pi/Desktop/images/03072025/14/50/image_03072025_14_50_02_2886.jpg', '/home/pi/Desktop/images/03072025/14/49/image_03072025_14_49_01_2636.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/54/image_03072025_14_54_02_0496.jpg
/home/pi/Desktop/images/03072025/14/53/image_03072025_14_53_01_3556.jpg
/home/pi/Desktop/images/03072025/14/52/image_03072025_14_52_01_3866.jpg
/home/pi/Desktop/images/03072025/14/51/image_03072025_14_51_01_5466.jpg
/home/pi/Desktop/images/03072025/14/50/image_03072025_14_50_02_2886.jpg
/home/pi/Desktop/images/03072025/14/49/image_03072025_14_49_01_2636.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0320558547973633 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:56:03.765661
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/55/image_03072025_14_55_01_7207.jpg', 2), ('/home/pi/Desktop/images/03072025/14/54/image_03072025_14_54_02_0496.jpg', 2), ('/home/pi/Desktop/images/03072025/14/53/image_03072025_14_53_01_3556.jpg', 2), ('/home/pi/Desktop/images/03072025/14/52/image_03072025_14_52_01_3866.jpg', 2), ('/home/pi/Desktop/images/03072025/14/51/image_03072025_14_51_01_5466.jpg', 2), ('/home/pi/Desktop/images/03072025/14/50/image_03072025_14_50_02_2886.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/55/image_03072025_14_55_01_7207.jpg', '/home/pi/Desktop/images/03072025/14/54/image_03072025_14_54_02_0496.jpg', '/home/pi/Desktop/images/03072025/14/53/image_03072025_14_53_01_3556.jpg', '/home/pi/Desktop/images/03072025/14/52/image_03072025_14_52_01_3866.jpg', '/home/pi/Desktop/images/03072025/14/51/image_03072025_14_51_01_5466.jpg', '/home/pi/Desktop/images/03072025/14/50/image_03072025_14_50_02_2886.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/55/image_03072025_14_55_01_7207.jpg
/home/pi/Desktop/images/03072025/14/54/image_03072025_14_54_02_0496.jpg
/home/pi/Desktop/images/03072025/14/53/image_03072025_14_53_01_3556.jpg
/home/pi/Desktop/images/03072025/14/52/image_03072025_14_52_01_3866.jpg
/home/pi/Desktop/images/03072025/14/51/image_03072025_14_51_01_5466.jpg
/home/pi/Desktop/images/03072025/14/50/image_03072025_14_50_02_2886.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.411024808883667 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:57:04.241370
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/56/image_03072025_14_56_01_8443.jpg', 2), ('/home/pi/Desktop/images/03072025/14/55/image_03072025_14_55_01_7207.jpg', 2), ('/home/pi/Desktop/images/03072025/14/54/image_03072025_14_54_02_0496.jpg', 2), ('/home/pi/Desktop/images/03072025/14/53/image_03072025_14_53_01_3556.jpg', 2), ('/home/pi/Desktop/images/03072025/14/52/image_03072025_14_52_01_3866.jpg', 2), ('/home/pi/Desktop/images/03072025/14/51/image_03072025_14_51_01_5466.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/56/image_03072025_14_56_01_8443.jpg', '/home/pi/Desktop/images/03072025/14/55/image_03072025_14_55_01_7207.jpg', '/home/pi/Desktop/images/03072025/14/54/image_03072025_14_54_02_0496.jpg', '/home/pi/Desktop/images/03072025/14/53/image_03072025_14_53_01_3556.jpg', '/home/pi/Desktop/images/03072025/14/52/image_03072025_14_52_01_3866.jpg', '/home/pi/Desktop/images/03072025/14/51/image_03072025_14_51_01_5466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/56/image_03072025_14_56_01_8443.jpg
/home/pi/Desktop/images/03072025/14/55/image_03072025_14_55_01_7207.jpg
/home/pi/Desktop/images/03072025/14/54/image_03072025_14_54_02_0496.jpg
/home/pi/Desktop/images/03072025/14/53/image_03072025_14_53_01_3556.jpg
/home/pi/Desktop/images/03072025/14/52/image_03072025_14_52_01_3866.jpg
/home/pi/Desktop/images/03072025/14/51/image_03072025_14_51_01_5466.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6632659435272217 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 14:59:03.822902
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/57/image_03072025_14_57_02_2450.jpg', 2), ('/home/pi/Desktop/images/03072025/14/56/image_03072025_14_56_01_8443.jpg', 2), ('/home/pi/Desktop/images/03072025/14/55/image_03072025_14_55_01_7207.jpg', 2), ('/home/pi/Desktop/images/03072025/14/54/image_03072025_14_54_02_0496.jpg', 2), ('/home/pi/Desktop/images/03072025/14/53/image_03072025_14_53_01_3556.jpg', 2), ('/home/pi/Desktop/images/03072025/14/52/image_03072025_14_52_01_3866.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/57/image_03072025_14_57_02_2450.jpg', '/home/pi/Desktop/images/03072025/14/56/image_03072025_14_56_01_8443.jpg', '/home/pi/Desktop/images/03072025/14/55/image_03072025_14_55_01_7207.jpg', '/home/pi/Desktop/images/03072025/14/54/image_03072025_14_54_02_0496.jpg', '/home/pi/Desktop/images/03072025/14/53/image_03072025_14_53_01_3556.jpg', '/home/pi/Desktop/images/03072025/14/52/image_03072025_14_52_01_3866.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/57/image_03072025_14_57_02_2450.jpg
/home/pi/Desktop/images/03072025/14/56/image_03072025_14_56_01_8443.jpg
/home/pi/Desktop/images/03072025/14/55/image_03072025_14_55_01_7207.jpg
/home/pi/Desktop/images/03072025/14/54/image_03072025_14_54_02_0496.jpg
/home/pi/Desktop/images/03072025/14/53/image_03072025_14_53_01_3556.jpg
/home/pi/Desktop/images/03072025/14/52/image_03072025_14_52_01_3866.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5780417919158936 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:00:02.741385
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/14/58/image_03072025_14_58_02_1705.jpg', 2), ('/home/pi/Desktop/images/03072025/14/57/image_03072025_14_57_02_2450.jpg', 2), ('/home/pi/Desktop/images/03072025/14/56/image_03072025_14_56_01_8443.jpg', 2), ('/home/pi/Desktop/images/03072025/14/55/image_03072025_14_55_01_7207.jpg', 2), ('/home/pi/Desktop/images/03072025/14/54/image_03072025_14_54_02_0496.jpg', 2), ('/home/pi/Desktop/images/03072025/14/53/image_03072025_14_53_01_3556.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/14/58/image_03072025_14_58_02_1705.jpg', '/home/pi/Desktop/images/03072025/14/57/image_03072025_14_57_02_2450.jpg', '/home/pi/Desktop/images/03072025/14/56/image_03072025_14_56_01_8443.jpg', '/home/pi/Desktop/images/03072025/14/55/image_03072025_14_55_01_7207.jpg', '/home/pi/Desktop/images/03072025/14/54/image_03072025_14_54_02_0496.jpg', '/home/pi/Desktop/images/03072025/14/53/image_03072025_14_53_01_3556.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/14/58/image_03072025_14_58_02_1705.jpg
/home/pi/Desktop/images/03072025/14/57/image_03072025_14_57_02_2450.jpg
/home/pi/Desktop/images/03072025/14/56/image_03072025_14_56_01_8443.jpg
/home/pi/Desktop/images/03072025/14/55/image_03072025_14_55_01_7207.jpg
/home/pi/Desktop/images/03072025/14/54/image_03072025_14_54_02_0496.jpg
/home/pi/Desktop/images/03072025/14/53/image_03072025_14_53_01_3556.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.40836763381958 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:01:05.335361
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/00/image_03072025_15_00_01_7843.jpg', 2), ('/home/pi/Desktop/images/03072025/14/58/image_03072025_14_58_02_1705.jpg', 2), ('/home/pi/Desktop/images/03072025/14/57/image_03072025_14_57_02_2450.jpg', 2), ('/home/pi/Desktop/images/03072025/14/56/image_03072025_14_56_01_8443.jpg', 2), ('/home/pi/Desktop/images/03072025/14/55/image_03072025_14_55_01_7207.jpg', 2), ('/home/pi/Desktop/images/03072025/14/54/image_03072025_14_54_02_0496.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/00/image_03072025_15_00_01_7843.jpg', '/home/pi/Desktop/images/03072025/14/58/image_03072025_14_58_02_1705.jpg', '/home/pi/Desktop/images/03072025/14/57/image_03072025_14_57_02_2450.jpg', '/home/pi/Desktop/images/03072025/14/56/image_03072025_14_56_01_8443.jpg', '/home/pi/Desktop/images/03072025/14/55/image_03072025_14_55_01_7207.jpg', '/home/pi/Desktop/images/03072025/14/54/image_03072025_14_54_02_0496.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/00/image_03072025_15_00_01_7843.jpg
/home/pi/Desktop/images/03072025/14/58/image_03072025_14_58_02_1705.jpg
/home/pi/Desktop/images/03072025/14/57/image_03072025_14_57_02_2450.jpg
/home/pi/Desktop/images/03072025/14/56/image_03072025_14_56_01_8443.jpg
/home/pi/Desktop/images/03072025/14/55/image_03072025_14_55_01_7207.jpg
/home/pi/Desktop/images/03072025/14/54/image_03072025_14_54_02_0496.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1013882160186768 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:02:03.459336
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/01/image_03072025_15_01_01_1847.jpg', 2), ('/home/pi/Desktop/images/03072025/15/00/image_03072025_15_00_01_7843.jpg', 2), ('/home/pi/Desktop/images/03072025/14/58/image_03072025_14_58_02_1705.jpg', 2), ('/home/pi/Desktop/images/03072025/14/57/image_03072025_14_57_02_2450.jpg', 2), ('/home/pi/Desktop/images/03072025/14/56/image_03072025_14_56_01_8443.jpg', 2), ('/home/pi/Desktop/images/03072025/14/55/image_03072025_14_55_01_7207.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/01/image_03072025_15_01_01_1847.jpg', '/home/pi/Desktop/images/03072025/15/00/image_03072025_15_00_01_7843.jpg', '/home/pi/Desktop/images/03072025/14/58/image_03072025_14_58_02_1705.jpg', '/home/pi/Desktop/images/03072025/14/57/image_03072025_14_57_02_2450.jpg', '/home/pi/Desktop/images/03072025/14/56/image_03072025_14_56_01_8443.jpg', '/home/pi/Desktop/images/03072025/14/55/image_03072025_14_55_01_7207.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/01/image_03072025_15_01_01_1847.jpg
/home/pi/Desktop/images/03072025/15/00/image_03072025_15_00_01_7843.jpg
/home/pi/Desktop/images/03072025/14/58/image_03072025_14_58_02_1705.jpg
/home/pi/Desktop/images/03072025/14/57/image_03072025_14_57_02_2450.jpg
/home/pi/Desktop/images/03072025/14/56/image_03072025_14_56_01_8443.jpg
/home/pi/Desktop/images/03072025/14/55/image_03072025_14_55_01_7207.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3691422939300537 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:03:03.815355
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg', 2), ('/home/pi/Desktop/images/03072025/15/01/image_03072025_15_01_01_1847.jpg', 2), ('/home/pi/Desktop/images/03072025/15/00/image_03072025_15_00_01_7843.jpg', 2), ('/home/pi/Desktop/images/03072025/14/58/image_03072025_14_58_02_1705.jpg', 2), ('/home/pi/Desktop/images/03072025/14/57/image_03072025_14_57_02_2450.jpg', 2), ('/home/pi/Desktop/images/03072025/14/56/image_03072025_14_56_01_8443.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg', '/home/pi/Desktop/images/03072025/15/01/image_03072025_15_01_01_1847.jpg', '/home/pi/Desktop/images/03072025/15/00/image_03072025_15_00_01_7843.jpg', '/home/pi/Desktop/images/03072025/14/58/image_03072025_14_58_02_1705.jpg', '/home/pi/Desktop/images/03072025/14/57/image_03072025_14_57_02_2450.jpg', '/home/pi/Desktop/images/03072025/14/56/image_03072025_14_56_01_8443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg
/home/pi/Desktop/images/03072025/15/01/image_03072025_15_01_01_1847.jpg
/home/pi/Desktop/images/03072025/15/00/image_03072025_15_00_01_7843.jpg
/home/pi/Desktop/images/03072025/14/58/image_03072025_14_58_02_1705.jpg
/home/pi/Desktop/images/03072025/14/57/image_03072025_14_57_02_2450.jpg
/home/pi/Desktop/images/03072025/14/56/image_03072025_14_56_01_8443.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.050795078277588 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:04:04.159289
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg', 2), ('/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg', 2), ('/home/pi/Desktop/images/03072025/15/01/image_03072025_15_01_01_1847.jpg', 2), ('/home/pi/Desktop/images/03072025/15/00/image_03072025_15_00_01_7843.jpg', 2), ('/home/pi/Desktop/images/03072025/14/58/image_03072025_14_58_02_1705.jpg', 2), ('/home/pi/Desktop/images/03072025/14/57/image_03072025_14_57_02_2450.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg', '/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg', '/home/pi/Desktop/images/03072025/15/01/image_03072025_15_01_01_1847.jpg', '/home/pi/Desktop/images/03072025/15/00/image_03072025_15_00_01_7843.jpg', '/home/pi/Desktop/images/03072025/14/58/image_03072025_14_58_02_1705.jpg', '/home/pi/Desktop/images/03072025/14/57/image_03072025_14_57_02_2450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg
/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg
/home/pi/Desktop/images/03072025/15/01/image_03072025_15_01_01_1847.jpg
/home/pi/Desktop/images/03072025/15/00/image_03072025_15_00_01_7843.jpg
/home/pi/Desktop/images/03072025/14/58/image_03072025_14_58_02_1705.jpg
/home/pi/Desktop/images/03072025/14/57/image_03072025_14_57_02_2450.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4297256469726562 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:05:03.908203
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg', 2), ('/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg', 2), ('/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg', 2), ('/home/pi/Desktop/images/03072025/15/01/image_03072025_15_01_01_1847.jpg', 2), ('/home/pi/Desktop/images/03072025/15/00/image_03072025_15_00_01_7843.jpg', 2), ('/home/pi/Desktop/images/03072025/14/58/image_03072025_14_58_02_1705.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg', '/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg', '/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg', '/home/pi/Desktop/images/03072025/15/01/image_03072025_15_01_01_1847.jpg', '/home/pi/Desktop/images/03072025/15/00/image_03072025_15_00_01_7843.jpg', '/home/pi/Desktop/images/03072025/14/58/image_03072025_14_58_02_1705.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg
/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg
/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg
/home/pi/Desktop/images/03072025/15/01/image_03072025_15_01_01_1847.jpg
/home/pi/Desktop/images/03072025/15/00/image_03072025_15_00_01_7843.jpg
/home/pi/Desktop/images/03072025/14/58/image_03072025_14_58_02_1705.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4649312496185303 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:06:03.106185
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg', 2), ('/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg', 2), ('/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg', 2), ('/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg', 2), ('/home/pi/Desktop/images/03072025/15/01/image_03072025_15_01_01_1847.jpg', 2), ('/home/pi/Desktop/images/03072025/15/00/image_03072025_15_00_01_7843.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg', '/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg', '/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg', '/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg', '/home/pi/Desktop/images/03072025/15/01/image_03072025_15_01_01_1847.jpg', '/home/pi/Desktop/images/03072025/15/00/image_03072025_15_00_01_7843.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg
/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg
/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg
/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg
/home/pi/Desktop/images/03072025/15/01/image_03072025_15_01_01_1847.jpg
/home/pi/Desktop/images/03072025/15/00/image_03072025_15_00_01_7843.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7627623081207275 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:07:03.666627
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg', 2), ('/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg', 2), ('/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg', 2), ('/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg', 2), ('/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg', 2), ('/home/pi/Desktop/images/03072025/15/01/image_03072025_15_01_01_1847.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg', '/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg', '/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg', '/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg', '/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg', '/home/pi/Desktop/images/03072025/15/01/image_03072025_15_01_01_1847.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg
/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg
/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg
/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg
/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg
/home/pi/Desktop/images/03072025/15/01/image_03072025_15_01_01_1847.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0081944465637207 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:08:03.635663
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg', 2), ('/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg', 2), ('/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg', 2), ('/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg', 2), ('/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg', 2), ('/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg', '/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg', '/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg', '/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg', '/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg', '/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg
/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg
/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg
/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg
/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg
/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7661325931549072 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:09:04.878012
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg', 2), ('/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg', 2), ('/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg', 2), ('/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg', 2), ('/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg', 2), ('/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg', '/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg', '/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg', '/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg', '/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg', '/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg
/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg
/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg
/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg
/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg
/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.477266788482666 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:10:02.896933
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg', 2), ('/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg', 2), ('/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg', 2), ('/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg', 2), ('/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg', 2), ('/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg', '/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg', '/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg', '/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg', '/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg', '/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg
/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg
/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg
/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg
/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg
/home/pi/Desktop/images/03072025/15/02/image_03072025_15_02_01_8684.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3584561347961426 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:11:03.795822
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg', 2), ('/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg', 2), ('/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg', 2), ('/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg', 2), ('/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg', 2), ('/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg', '/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg', '/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg', '/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg', '/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg', '/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg
/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg
/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg
/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg
/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg
/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0198326110839844 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:12:03.130688
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg', 2), ('/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg', 2), ('/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg', 2), ('/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg', 2), ('/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg', 2), ('/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg', '/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg', '/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg', '/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg', '/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg', '/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg
/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg
/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg
/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg
/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg
/home/pi/Desktop/images/03072025/15/03/image_03072025_15_03_01_9021.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.496323347091675 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:13:03.613323
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/11/image_03072025_15_11_01_4575.jpg', 2), ('/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg', 2), ('/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg', 2), ('/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg', 2), ('/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg', 2), ('/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/11/image_03072025_15_11_01_4575.jpg', '/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg', '/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg', '/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg', '/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg', '/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/11/image_03072025_15_11_01_4575.jpg
/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg
/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg
/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg
/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg
/home/pi/Desktop/images/03072025/15/04/image_03072025_15_04_02_0159.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4693148136138916 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:14:03.995733
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/13/image_03072025_15_13_01_6252.jpg', 2), ('/home/pi/Desktop/images/03072025/15/11/image_03072025_15_11_01_4575.jpg', 2), ('/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg', 2), ('/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg', 2), ('/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg', 2), ('/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/13/image_03072025_15_13_01_6252.jpg', '/home/pi/Desktop/images/03072025/15/11/image_03072025_15_11_01_4575.jpg', '/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg', '/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg', '/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg', '/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/13/image_03072025_15_13_01_6252.jpg
/home/pi/Desktop/images/03072025/15/11/image_03072025_15_11_01_4575.jpg
/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg
/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg
/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg
/home/pi/Desktop/images/03072025/15/05/image_03072025_15_05_01_7447.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4966135025024414 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:15:03.217470
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/14/image_03072025_15_14_01_5518.jpg', 2), ('/home/pi/Desktop/images/03072025/15/13/image_03072025_15_13_01_6252.jpg', 2), ('/home/pi/Desktop/images/03072025/15/11/image_03072025_15_11_01_4575.jpg', 2), ('/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg', 2), ('/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg', 2), ('/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/14/image_03072025_15_14_01_5518.jpg', '/home/pi/Desktop/images/03072025/15/13/image_03072025_15_13_01_6252.jpg', '/home/pi/Desktop/images/03072025/15/11/image_03072025_15_11_01_4575.jpg', '/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg', '/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg', '/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/14/image_03072025_15_14_01_5518.jpg
/home/pi/Desktop/images/03072025/15/13/image_03072025_15_13_01_6252.jpg
/home/pi/Desktop/images/03072025/15/11/image_03072025_15_11_01_4575.jpg
/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg
/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg
/home/pi/Desktop/images/03072025/15/06/image_03072025_15_06_01_8882.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.532329559326172 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:16:03.362583
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/15/image_03072025_15_15_01_5010.jpg', 2), ('/home/pi/Desktop/images/03072025/15/14/image_03072025_15_14_01_5518.jpg', 2), ('/home/pi/Desktop/images/03072025/15/13/image_03072025_15_13_01_6252.jpg', 2), ('/home/pi/Desktop/images/03072025/15/11/image_03072025_15_11_01_4575.jpg', 2), ('/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg', 2), ('/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/15/image_03072025_15_15_01_5010.jpg', '/home/pi/Desktop/images/03072025/15/14/image_03072025_15_14_01_5518.jpg', '/home/pi/Desktop/images/03072025/15/13/image_03072025_15_13_01_6252.jpg', '/home/pi/Desktop/images/03072025/15/11/image_03072025_15_11_01_4575.jpg', '/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg', '/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/15/image_03072025_15_15_01_5010.jpg
/home/pi/Desktop/images/03072025/15/14/image_03072025_15_14_01_5518.jpg
/home/pi/Desktop/images/03072025/15/13/image_03072025_15_13_01_6252.jpg
/home/pi/Desktop/images/03072025/15/11/image_03072025_15_11_01_4575.jpg
/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg
/home/pi/Desktop/images/03072025/15/07/image_03072025_15_07_01_5530.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3587379455566406 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:17:03.581509
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/16/image_03072025_15_16_01_2997.jpg', 2), ('/home/pi/Desktop/images/03072025/15/15/image_03072025_15_15_01_5010.jpg', 2), ('/home/pi/Desktop/images/03072025/15/14/image_03072025_15_14_01_5518.jpg', 2), ('/home/pi/Desktop/images/03072025/15/13/image_03072025_15_13_01_6252.jpg', 2), ('/home/pi/Desktop/images/03072025/15/11/image_03072025_15_11_01_4575.jpg', 2), ('/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/16/image_03072025_15_16_01_2997.jpg', '/home/pi/Desktop/images/03072025/15/15/image_03072025_15_15_01_5010.jpg', '/home/pi/Desktop/images/03072025/15/14/image_03072025_15_14_01_5518.jpg', '/home/pi/Desktop/images/03072025/15/13/image_03072025_15_13_01_6252.jpg', '/home/pi/Desktop/images/03072025/15/11/image_03072025_15_11_01_4575.jpg', '/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/16/image_03072025_15_16_01_2997.jpg
/home/pi/Desktop/images/03072025/15/15/image_03072025_15_15_01_5010.jpg
/home/pi/Desktop/images/03072025/15/14/image_03072025_15_14_01_5518.jpg
/home/pi/Desktop/images/03072025/15/13/image_03072025_15_13_01_6252.jpg
/home/pi/Desktop/images/03072025/15/11/image_03072025_15_11_01_4575.jpg
/home/pi/Desktop/images/03072025/15/08/image_03072025_15_08_01_6062.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4760870933532715 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:18:05.363323
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/17/image_03072025_15_17_01_8350.jpg', 2), ('/home/pi/Desktop/images/03072025/15/16/image_03072025_15_16_01_2997.jpg', 2), ('/home/pi/Desktop/images/03072025/15/15/image_03072025_15_15_01_5010.jpg', 2), ('/home/pi/Desktop/images/03072025/15/14/image_03072025_15_14_01_5518.jpg', 2), ('/home/pi/Desktop/images/03072025/15/13/image_03072025_15_13_01_6252.jpg', 2), ('/home/pi/Desktop/images/03072025/15/11/image_03072025_15_11_01_4575.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/17/image_03072025_15_17_01_8350.jpg', '/home/pi/Desktop/images/03072025/15/16/image_03072025_15_16_01_2997.jpg', '/home/pi/Desktop/images/03072025/15/15/image_03072025_15_15_01_5010.jpg', '/home/pi/Desktop/images/03072025/15/14/image_03072025_15_14_01_5518.jpg', '/home/pi/Desktop/images/03072025/15/13/image_03072025_15_13_01_6252.jpg', '/home/pi/Desktop/images/03072025/15/11/image_03072025_15_11_01_4575.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/17/image_03072025_15_17_01_8350.jpg
/home/pi/Desktop/images/03072025/15/16/image_03072025_15_16_01_2997.jpg
/home/pi/Desktop/images/03072025/15/15/image_03072025_15_15_01_5010.jpg
/home/pi/Desktop/images/03072025/15/14/image_03072025_15_14_01_5518.jpg
/home/pi/Desktop/images/03072025/15/13/image_03072025_15_13_01_6252.jpg
/home/pi/Desktop/images/03072025/15/11/image_03072025_15_11_01_4575.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4043796062469482 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:19:03.743592
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/18/image_03072025_15_18_01_6644.jpg', 2), ('/home/pi/Desktop/images/03072025/15/17/image_03072025_15_17_01_8350.jpg', 2), ('/home/pi/Desktop/images/03072025/15/16/image_03072025_15_16_01_2997.jpg', 2), ('/home/pi/Desktop/images/03072025/15/15/image_03072025_15_15_01_5010.jpg', 2), ('/home/pi/Desktop/images/03072025/15/14/image_03072025_15_14_01_5518.jpg', 2), ('/home/pi/Desktop/images/03072025/15/13/image_03072025_15_13_01_6252.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/18/image_03072025_15_18_01_6644.jpg', '/home/pi/Desktop/images/03072025/15/17/image_03072025_15_17_01_8350.jpg', '/home/pi/Desktop/images/03072025/15/16/image_03072025_15_16_01_2997.jpg', '/home/pi/Desktop/images/03072025/15/15/image_03072025_15_15_01_5010.jpg', '/home/pi/Desktop/images/03072025/15/14/image_03072025_15_14_01_5518.jpg', '/home/pi/Desktop/images/03072025/15/13/image_03072025_15_13_01_6252.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/18/image_03072025_15_18_01_6644.jpg
/home/pi/Desktop/images/03072025/15/17/image_03072025_15_17_01_8350.jpg
/home/pi/Desktop/images/03072025/15/16/image_03072025_15_16_01_2997.jpg
/home/pi/Desktop/images/03072025/15/15/image_03072025_15_15_01_5010.jpg
/home/pi/Desktop/images/03072025/15/14/image_03072025_15_14_01_5518.jpg
/home/pi/Desktop/images/03072025/15/13/image_03072025_15_13_01_6252.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.2402586936950684 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:20:03.689570
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/19/image_03072025_15_19_01_9196.jpg', 2), ('/home/pi/Desktop/images/03072025/15/18/image_03072025_15_18_01_6644.jpg', 2), ('/home/pi/Desktop/images/03072025/15/17/image_03072025_15_17_01_8350.jpg', 2), ('/home/pi/Desktop/images/03072025/15/16/image_03072025_15_16_01_2997.jpg', 2), ('/home/pi/Desktop/images/03072025/15/15/image_03072025_15_15_01_5010.jpg', 2), ('/home/pi/Desktop/images/03072025/15/14/image_03072025_15_14_01_5518.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/19/image_03072025_15_19_01_9196.jpg', '/home/pi/Desktop/images/03072025/15/18/image_03072025_15_18_01_6644.jpg', '/home/pi/Desktop/images/03072025/15/17/image_03072025_15_17_01_8350.jpg', '/home/pi/Desktop/images/03072025/15/16/image_03072025_15_16_01_2997.jpg', '/home/pi/Desktop/images/03072025/15/15/image_03072025_15_15_01_5010.jpg', '/home/pi/Desktop/images/03072025/15/14/image_03072025_15_14_01_5518.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/19/image_03072025_15_19_01_9196.jpg
/home/pi/Desktop/images/03072025/15/18/image_03072025_15_18_01_6644.jpg
/home/pi/Desktop/images/03072025/15/17/image_03072025_15_17_01_8350.jpg
/home/pi/Desktop/images/03072025/15/16/image_03072025_15_16_01_2997.jpg
/home/pi/Desktop/images/03072025/15/15/image_03072025_15_15_01_5010.jpg
/home/pi/Desktop/images/03072025/15/14/image_03072025_15_14_01_5518.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.067877769470215 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:21:04.107141
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/20/image_03072025_15_20_01_7262.jpg', 2), ('/home/pi/Desktop/images/03072025/15/19/image_03072025_15_19_01_9196.jpg', 2), ('/home/pi/Desktop/images/03072025/15/18/image_03072025_15_18_01_6644.jpg', 2), ('/home/pi/Desktop/images/03072025/15/17/image_03072025_15_17_01_8350.jpg', 2), ('/home/pi/Desktop/images/03072025/15/16/image_03072025_15_16_01_2997.jpg', 2), ('/home/pi/Desktop/images/03072025/15/15/image_03072025_15_15_01_5010.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/20/image_03072025_15_20_01_7262.jpg', '/home/pi/Desktop/images/03072025/15/19/image_03072025_15_19_01_9196.jpg', '/home/pi/Desktop/images/03072025/15/18/image_03072025_15_18_01_6644.jpg', '/home/pi/Desktop/images/03072025/15/17/image_03072025_15_17_01_8350.jpg', '/home/pi/Desktop/images/03072025/15/16/image_03072025_15_16_01_2997.jpg', '/home/pi/Desktop/images/03072025/15/15/image_03072025_15_15_01_5010.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/20/image_03072025_15_20_01_7262.jpg
/home/pi/Desktop/images/03072025/15/19/image_03072025_15_19_01_9196.jpg
/home/pi/Desktop/images/03072025/15/18/image_03072025_15_18_01_6644.jpg
/home/pi/Desktop/images/03072025/15/17/image_03072025_15_17_01_8350.jpg
/home/pi/Desktop/images/03072025/15/16/image_03072025_15_16_01_2997.jpg
/home/pi/Desktop/images/03072025/15/15/image_03072025_15_15_01_5010.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5295071601867676 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:22:05.170211
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/21/image_03072025_15_21_02_1872.jpg', 2), ('/home/pi/Desktop/images/03072025/15/20/image_03072025_15_20_01_7262.jpg', 2), ('/home/pi/Desktop/images/03072025/15/19/image_03072025_15_19_01_9196.jpg', 2), ('/home/pi/Desktop/images/03072025/15/18/image_03072025_15_18_01_6644.jpg', 2), ('/home/pi/Desktop/images/03072025/15/17/image_03072025_15_17_01_8350.jpg', 2), ('/home/pi/Desktop/images/03072025/15/16/image_03072025_15_16_01_2997.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/21/image_03072025_15_21_02_1872.jpg', '/home/pi/Desktop/images/03072025/15/20/image_03072025_15_20_01_7262.jpg', '/home/pi/Desktop/images/03072025/15/19/image_03072025_15_19_01_9196.jpg', '/home/pi/Desktop/images/03072025/15/18/image_03072025_15_18_01_6644.jpg', '/home/pi/Desktop/images/03072025/15/17/image_03072025_15_17_01_8350.jpg', '/home/pi/Desktop/images/03072025/15/16/image_03072025_15_16_01_2997.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/21/image_03072025_15_21_02_1872.jpg
/home/pi/Desktop/images/03072025/15/20/image_03072025_15_20_01_7262.jpg
/home/pi/Desktop/images/03072025/15/19/image_03072025_15_19_01_9196.jpg
/home/pi/Desktop/images/03072025/15/18/image_03072025_15_18_01_6644.jpg
/home/pi/Desktop/images/03072025/15/17/image_03072025_15_17_01_8350.jpg
/home/pi/Desktop/images/03072025/15/16/image_03072025_15_16_01_2997.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.170572280883789 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:23:04.264753
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/22/image_03072025_15_22_02_2388.jpg', 2), ('/home/pi/Desktop/images/03072025/15/21/image_03072025_15_21_02_1872.jpg', 2), ('/home/pi/Desktop/images/03072025/15/20/image_03072025_15_20_01_7262.jpg', 2), ('/home/pi/Desktop/images/03072025/15/19/image_03072025_15_19_01_9196.jpg', 2), ('/home/pi/Desktop/images/03072025/15/18/image_03072025_15_18_01_6644.jpg', 2), ('/home/pi/Desktop/images/03072025/15/17/image_03072025_15_17_01_8350.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/22/image_03072025_15_22_02_2388.jpg', '/home/pi/Desktop/images/03072025/15/21/image_03072025_15_21_02_1872.jpg', '/home/pi/Desktop/images/03072025/15/20/image_03072025_15_20_01_7262.jpg', '/home/pi/Desktop/images/03072025/15/19/image_03072025_15_19_01_9196.jpg', '/home/pi/Desktop/images/03072025/15/18/image_03072025_15_18_01_6644.jpg', '/home/pi/Desktop/images/03072025/15/17/image_03072025_15_17_01_8350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/22/image_03072025_15_22_02_2388.jpg
/home/pi/Desktop/images/03072025/15/21/image_03072025_15_21_02_1872.jpg
/home/pi/Desktop/images/03072025/15/20/image_03072025_15_20_01_7262.jpg
/home/pi/Desktop/images/03072025/15/19/image_03072025_15_19_01_9196.jpg
/home/pi/Desktop/images/03072025/15/18/image_03072025_15_18_01_6644.jpg
/home/pi/Desktop/images/03072025/15/17/image_03072025_15_17_01_8350.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.1186184883117676 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:24:03.523664
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/23/image_03072025_15_23_02_1299.jpg', 2), ('/home/pi/Desktop/images/03072025/15/22/image_03072025_15_22_02_2388.jpg', 2), ('/home/pi/Desktop/images/03072025/15/21/image_03072025_15_21_02_1872.jpg', 2), ('/home/pi/Desktop/images/03072025/15/20/image_03072025_15_20_01_7262.jpg', 2), ('/home/pi/Desktop/images/03072025/15/19/image_03072025_15_19_01_9196.jpg', 2), ('/home/pi/Desktop/images/03072025/15/18/image_03072025_15_18_01_6644.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/23/image_03072025_15_23_02_1299.jpg', '/home/pi/Desktop/images/03072025/15/22/image_03072025_15_22_02_2388.jpg', '/home/pi/Desktop/images/03072025/15/21/image_03072025_15_21_02_1872.jpg', '/home/pi/Desktop/images/03072025/15/20/image_03072025_15_20_01_7262.jpg', '/home/pi/Desktop/images/03072025/15/19/image_03072025_15_19_01_9196.jpg', '/home/pi/Desktop/images/03072025/15/18/image_03072025_15_18_01_6644.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/23/image_03072025_15_23_02_1299.jpg
/home/pi/Desktop/images/03072025/15/22/image_03072025_15_22_02_2388.jpg
/home/pi/Desktop/images/03072025/15/21/image_03072025_15_21_02_1872.jpg
/home/pi/Desktop/images/03072025/15/20/image_03072025_15_20_01_7262.jpg
/home/pi/Desktop/images/03072025/15/19/image_03072025_15_19_01_9196.jpg
/home/pi/Desktop/images/03072025/15/18/image_03072025_15_18_01_6644.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.384333848953247 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:25:05.983086
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/24/image_03072025_15_24_02_1225.jpg', 2), ('/home/pi/Desktop/images/03072025/15/23/image_03072025_15_23_02_1299.jpg', 2), ('/home/pi/Desktop/images/03072025/15/22/image_03072025_15_22_02_2388.jpg', 2), ('/home/pi/Desktop/images/03072025/15/21/image_03072025_15_21_02_1872.jpg', 2), ('/home/pi/Desktop/images/03072025/15/20/image_03072025_15_20_01_7262.jpg', 2), ('/home/pi/Desktop/images/03072025/15/19/image_03072025_15_19_01_9196.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/24/image_03072025_15_24_02_1225.jpg', '/home/pi/Desktop/images/03072025/15/23/image_03072025_15_23_02_1299.jpg', '/home/pi/Desktop/images/03072025/15/22/image_03072025_15_22_02_2388.jpg', '/home/pi/Desktop/images/03072025/15/21/image_03072025_15_21_02_1872.jpg', '/home/pi/Desktop/images/03072025/15/20/image_03072025_15_20_01_7262.jpg', '/home/pi/Desktop/images/03072025/15/19/image_03072025_15_19_01_9196.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/24/image_03072025_15_24_02_1225.jpg
/home/pi/Desktop/images/03072025/15/23/image_03072025_15_23_02_1299.jpg
/home/pi/Desktop/images/03072025/15/22/image_03072025_15_22_02_2388.jpg
/home/pi/Desktop/images/03072025/15/21/image_03072025_15_21_02_1872.jpg
/home/pi/Desktop/images/03072025/15/20/image_03072025_15_20_01_7262.jpg
/home/pi/Desktop/images/03072025/15/19/image_03072025_15_19_01_9196.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.9047813415527344 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:26:04.154991
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/25/image_03072025_15_25_01_8242.jpg', 2), ('/home/pi/Desktop/images/03072025/15/24/image_03072025_15_24_02_1225.jpg', 2), ('/home/pi/Desktop/images/03072025/15/23/image_03072025_15_23_02_1299.jpg', 2), ('/home/pi/Desktop/images/03072025/15/22/image_03072025_15_22_02_2388.jpg', 2), ('/home/pi/Desktop/images/03072025/15/21/image_03072025_15_21_02_1872.jpg', 2), ('/home/pi/Desktop/images/03072025/15/20/image_03072025_15_20_01_7262.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/25/image_03072025_15_25_01_8242.jpg', '/home/pi/Desktop/images/03072025/15/24/image_03072025_15_24_02_1225.jpg', '/home/pi/Desktop/images/03072025/15/23/image_03072025_15_23_02_1299.jpg', '/home/pi/Desktop/images/03072025/15/22/image_03072025_15_22_02_2388.jpg', '/home/pi/Desktop/images/03072025/15/21/image_03072025_15_21_02_1872.jpg', '/home/pi/Desktop/images/03072025/15/20/image_03072025_15_20_01_7262.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/25/image_03072025_15_25_01_8242.jpg
/home/pi/Desktop/images/03072025/15/24/image_03072025_15_24_02_1225.jpg
/home/pi/Desktop/images/03072025/15/23/image_03072025_15_23_02_1299.jpg
/home/pi/Desktop/images/03072025/15/22/image_03072025_15_22_02_2388.jpg
/home/pi/Desktop/images/03072025/15/21/image_03072025_15_21_02_1872.jpg
/home/pi/Desktop/images/03072025/15/20/image_03072025_15_20_01_7262.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.255262136459351 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:27:03.534262
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/26/image_03072025_15_26_01_8234.jpg', 2), ('/home/pi/Desktop/images/03072025/15/25/image_03072025_15_25_01_8242.jpg', 2), ('/home/pi/Desktop/images/03072025/15/24/image_03072025_15_24_02_1225.jpg', 2), ('/home/pi/Desktop/images/03072025/15/23/image_03072025_15_23_02_1299.jpg', 2), ('/home/pi/Desktop/images/03072025/15/22/image_03072025_15_22_02_2388.jpg', 2), ('/home/pi/Desktop/images/03072025/15/21/image_03072025_15_21_02_1872.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/26/image_03072025_15_26_01_8234.jpg', '/home/pi/Desktop/images/03072025/15/25/image_03072025_15_25_01_8242.jpg', '/home/pi/Desktop/images/03072025/15/24/image_03072025_15_24_02_1225.jpg', '/home/pi/Desktop/images/03072025/15/23/image_03072025_15_23_02_1299.jpg', '/home/pi/Desktop/images/03072025/15/22/image_03072025_15_22_02_2388.jpg', '/home/pi/Desktop/images/03072025/15/21/image_03072025_15_21_02_1872.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/26/image_03072025_15_26_01_8234.jpg
/home/pi/Desktop/images/03072025/15/25/image_03072025_15_25_01_8242.jpg
/home/pi/Desktop/images/03072025/15/24/image_03072025_15_24_02_1225.jpg
/home/pi/Desktop/images/03072025/15/23/image_03072025_15_23_02_1299.jpg
/home/pi/Desktop/images/03072025/15/22/image_03072025_15_22_02_2388.jpg
/home/pi/Desktop/images/03072025/15/21/image_03072025_15_21_02_1872.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.1968321800231934 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:28:02.813435
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/27/image_03072025_15_27_01_9655.jpg', 2), ('/home/pi/Desktop/images/03072025/15/26/image_03072025_15_26_01_8234.jpg', 2), ('/home/pi/Desktop/images/03072025/15/25/image_03072025_15_25_01_8242.jpg', 2), ('/home/pi/Desktop/images/03072025/15/24/image_03072025_15_24_02_1225.jpg', 2), ('/home/pi/Desktop/images/03072025/15/23/image_03072025_15_23_02_1299.jpg', 2), ('/home/pi/Desktop/images/03072025/15/22/image_03072025_15_22_02_2388.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/27/image_03072025_15_27_01_9655.jpg', '/home/pi/Desktop/images/03072025/15/26/image_03072025_15_26_01_8234.jpg', '/home/pi/Desktop/images/03072025/15/25/image_03072025_15_25_01_8242.jpg', '/home/pi/Desktop/images/03072025/15/24/image_03072025_15_24_02_1225.jpg', '/home/pi/Desktop/images/03072025/15/23/image_03072025_15_23_02_1299.jpg', '/home/pi/Desktop/images/03072025/15/22/image_03072025_15_22_02_2388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/27/image_03072025_15_27_01_9655.jpg
/home/pi/Desktop/images/03072025/15/26/image_03072025_15_26_01_8234.jpg
/home/pi/Desktop/images/03072025/15/25/image_03072025_15_25_01_8242.jpg
/home/pi/Desktop/images/03072025/15/24/image_03072025_15_24_02_1225.jpg
/home/pi/Desktop/images/03072025/15/23/image_03072025_15_23_02_1299.jpg
/home/pi/Desktop/images/03072025/15/22/image_03072025_15_22_02_2388.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.576139211654663 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:29:03.482102
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/28/image_03072025_15_28_01_5748.jpg', 2), ('/home/pi/Desktop/images/03072025/15/27/image_03072025_15_27_01_9655.jpg', 2), ('/home/pi/Desktop/images/03072025/15/26/image_03072025_15_26_01_8234.jpg', 2), ('/home/pi/Desktop/images/03072025/15/25/image_03072025_15_25_01_8242.jpg', 2), ('/home/pi/Desktop/images/03072025/15/24/image_03072025_15_24_02_1225.jpg', 2), ('/home/pi/Desktop/images/03072025/15/23/image_03072025_15_23_02_1299.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/28/image_03072025_15_28_01_5748.jpg', '/home/pi/Desktop/images/03072025/15/27/image_03072025_15_27_01_9655.jpg', '/home/pi/Desktop/images/03072025/15/26/image_03072025_15_26_01_8234.jpg', '/home/pi/Desktop/images/03072025/15/25/image_03072025_15_25_01_8242.jpg', '/home/pi/Desktop/images/03072025/15/24/image_03072025_15_24_02_1225.jpg', '/home/pi/Desktop/images/03072025/15/23/image_03072025_15_23_02_1299.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/28/image_03072025_15_28_01_5748.jpg
/home/pi/Desktop/images/03072025/15/27/image_03072025_15_27_01_9655.jpg
/home/pi/Desktop/images/03072025/15/26/image_03072025_15_26_01_8234.jpg
/home/pi/Desktop/images/03072025/15/25/image_03072025_15_25_01_8242.jpg
/home/pi/Desktop/images/03072025/15/24/image_03072025_15_24_02_1225.jpg
/home/pi/Desktop/images/03072025/15/23/image_03072025_15_23_02_1299.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7175850868225098 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:30:03.496054
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg', 2), ('/home/pi/Desktop/images/03072025/15/28/image_03072025_15_28_01_5748.jpg', 2), ('/home/pi/Desktop/images/03072025/15/27/image_03072025_15_27_01_9655.jpg', 2), ('/home/pi/Desktop/images/03072025/15/26/image_03072025_15_26_01_8234.jpg', 2), ('/home/pi/Desktop/images/03072025/15/25/image_03072025_15_25_01_8242.jpg', 2), ('/home/pi/Desktop/images/03072025/15/24/image_03072025_15_24_02_1225.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg', '/home/pi/Desktop/images/03072025/15/28/image_03072025_15_28_01_5748.jpg', '/home/pi/Desktop/images/03072025/15/27/image_03072025_15_27_01_9655.jpg', '/home/pi/Desktop/images/03072025/15/26/image_03072025_15_26_01_8234.jpg', '/home/pi/Desktop/images/03072025/15/25/image_03072025_15_25_01_8242.jpg', '/home/pi/Desktop/images/03072025/15/24/image_03072025_15_24_02_1225.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg
/home/pi/Desktop/images/03072025/15/28/image_03072025_15_28_01_5748.jpg
/home/pi/Desktop/images/03072025/15/27/image_03072025_15_27_01_9655.jpg
/home/pi/Desktop/images/03072025/15/26/image_03072025_15_26_01_8234.jpg
/home/pi/Desktop/images/03072025/15/25/image_03072025_15_25_01_8242.jpg
/home/pi/Desktop/images/03072025/15/24/image_03072025_15_24_02_1225.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 6.087373733520508 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:31:04.011647
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg', 2), ('/home/pi/Desktop/images/03072025/15/29/image_03072025_15_29_01_3281.jpg', 2), ('/home/pi/Desktop/images/03072025/15/28/image_03072025_15_28_01_5748.jpg', 2), ('/home/pi/Desktop/images/03072025/15/27/image_03072025_15_27_01_9655.jpg', 2), ('/home/pi/Desktop/images/03072025/15/26/image_03072025_15_26_01_8234.jpg', 2), ('/home/pi/Desktop/images/03072025/15/25/image_03072025_15_25_01_8242.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg', '/home/pi/Desktop/images/03072025/15/29/image_03072025_15_29_01_3281.jpg', '/home/pi/Desktop/images/03072025/15/28/image_03072025_15_28_01_5748.jpg', '/home/pi/Desktop/images/03072025/15/27/image_03072025_15_27_01_9655.jpg', '/home/pi/Desktop/images/03072025/15/26/image_03072025_15_26_01_8234.jpg', '/home/pi/Desktop/images/03072025/15/25/image_03072025_15_25_01_8242.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg
/home/pi/Desktop/images/03072025/15/29/image_03072025_15_29_01_3281.jpg
/home/pi/Desktop/images/03072025/15/28/image_03072025_15_28_01_5748.jpg
/home/pi/Desktop/images/03072025/15/27/image_03072025_15_27_01_9655.jpg
/home/pi/Desktop/images/03072025/15/26/image_03072025_15_26_01_8234.jpg
/home/pi/Desktop/images/03072025/15/25/image_03072025_15_25_01_8242.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.372143507003784 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:32:03.108150
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/31/image_03072025_15_31_01_7563.jpg', 2), ('/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg', 2), ('/home/pi/Desktop/images/03072025/15/29/image_03072025_15_29_01_3281.jpg', 2), ('/home/pi/Desktop/images/03072025/15/28/image_03072025_15_28_01_5748.jpg', 2), ('/home/pi/Desktop/images/03072025/15/27/image_03072025_15_27_01_9655.jpg', 2), ('/home/pi/Desktop/images/03072025/15/26/image_03072025_15_26_01_8234.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/31/image_03072025_15_31_01_7563.jpg', '/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg', '/home/pi/Desktop/images/03072025/15/29/image_03072025_15_29_01_3281.jpg', '/home/pi/Desktop/images/03072025/15/28/image_03072025_15_28_01_5748.jpg', '/home/pi/Desktop/images/03072025/15/27/image_03072025_15_27_01_9655.jpg', '/home/pi/Desktop/images/03072025/15/26/image_03072025_15_26_01_8234.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/31/image_03072025_15_31_01_7563.jpg
/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg
/home/pi/Desktop/images/03072025/15/29/image_03072025_15_29_01_3281.jpg
/home/pi/Desktop/images/03072025/15/28/image_03072025_15_28_01_5748.jpg
/home/pi/Desktop/images/03072025/15/27/image_03072025_15_27_01_9655.jpg
/home/pi/Desktop/images/03072025/15/26/image_03072025_15_26_01_8234.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8006134033203125 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:33:04.262932
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/32/image_03072025_15_32_02_0061.jpg', 2), ('/home/pi/Desktop/images/03072025/15/31/image_03072025_15_31_01_7563.jpg', 2), ('/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg', 2), ('/home/pi/Desktop/images/03072025/15/29/image_03072025_15_29_01_3281.jpg', 2), ('/home/pi/Desktop/images/03072025/15/28/image_03072025_15_28_01_5748.jpg', 2), ('/home/pi/Desktop/images/03072025/15/27/image_03072025_15_27_01_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/32/image_03072025_15_32_02_0061.jpg', '/home/pi/Desktop/images/03072025/15/31/image_03072025_15_31_01_7563.jpg', '/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg', '/home/pi/Desktop/images/03072025/15/29/image_03072025_15_29_01_3281.jpg', '/home/pi/Desktop/images/03072025/15/28/image_03072025_15_28_01_5748.jpg', '/home/pi/Desktop/images/03072025/15/27/image_03072025_15_27_01_9655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/32/image_03072025_15_32_02_0061.jpg
/home/pi/Desktop/images/03072025/15/31/image_03072025_15_31_01_7563.jpg
/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg
/home/pi/Desktop/images/03072025/15/29/image_03072025_15_29_01_3281.jpg
/home/pi/Desktop/images/03072025/15/28/image_03072025_15_28_01_5748.jpg
/home/pi/Desktop/images/03072025/15/27/image_03072025_15_27_01_9655.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1577136516571045 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:34:03.463598
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/33/image_03072025_15_33_01_6897.jpg', 2), ('/home/pi/Desktop/images/03072025/15/32/image_03072025_15_32_02_0061.jpg', 2), ('/home/pi/Desktop/images/03072025/15/31/image_03072025_15_31_01_7563.jpg', 2), ('/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg', 2), ('/home/pi/Desktop/images/03072025/15/29/image_03072025_15_29_01_3281.jpg', 2), ('/home/pi/Desktop/images/03072025/15/28/image_03072025_15_28_01_5748.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/33/image_03072025_15_33_01_6897.jpg', '/home/pi/Desktop/images/03072025/15/32/image_03072025_15_32_02_0061.jpg', '/home/pi/Desktop/images/03072025/15/31/image_03072025_15_31_01_7563.jpg', '/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg', '/home/pi/Desktop/images/03072025/15/29/image_03072025_15_29_01_3281.jpg', '/home/pi/Desktop/images/03072025/15/28/image_03072025_15_28_01_5748.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/33/image_03072025_15_33_01_6897.jpg
/home/pi/Desktop/images/03072025/15/32/image_03072025_15_32_02_0061.jpg
/home/pi/Desktop/images/03072025/15/31/image_03072025_15_31_01_7563.jpg
/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg
/home/pi/Desktop/images/03072025/15/29/image_03072025_15_29_01_3281.jpg
/home/pi/Desktop/images/03072025/15/28/image_03072025_15_28_01_5748.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.523495674133301 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:35:03.998136
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/34/image_03072025_15_34_01_4623.jpg', 2), ('/home/pi/Desktop/images/03072025/15/33/image_03072025_15_33_01_6897.jpg', 2), ('/home/pi/Desktop/images/03072025/15/32/image_03072025_15_32_02_0061.jpg', 2), ('/home/pi/Desktop/images/03072025/15/31/image_03072025_15_31_01_7563.jpg', 2), ('/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg', 2), ('/home/pi/Desktop/images/03072025/15/29/image_03072025_15_29_01_3281.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/34/image_03072025_15_34_01_4623.jpg', '/home/pi/Desktop/images/03072025/15/33/image_03072025_15_33_01_6897.jpg', '/home/pi/Desktop/images/03072025/15/32/image_03072025_15_32_02_0061.jpg', '/home/pi/Desktop/images/03072025/15/31/image_03072025_15_31_01_7563.jpg', '/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg', '/home/pi/Desktop/images/03072025/15/29/image_03072025_15_29_01_3281.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/34/image_03072025_15_34_01_4623.jpg
/home/pi/Desktop/images/03072025/15/33/image_03072025_15_33_01_6897.jpg
/home/pi/Desktop/images/03072025/15/32/image_03072025_15_32_02_0061.jpg
/home/pi/Desktop/images/03072025/15/31/image_03072025_15_31_01_7563.jpg
/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg
/home/pi/Desktop/images/03072025/15/29/image_03072025_15_29_01_3281.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.204925298690796 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:36:02.918431
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/35/image_03072025_15_35_01_6242.jpg', 2), ('/home/pi/Desktop/images/03072025/15/34/image_03072025_15_34_01_4623.jpg', 2), ('/home/pi/Desktop/images/03072025/15/33/image_03072025_15_33_01_6897.jpg', 2), ('/home/pi/Desktop/images/03072025/15/32/image_03072025_15_32_02_0061.jpg', 2), ('/home/pi/Desktop/images/03072025/15/31/image_03072025_15_31_01_7563.jpg', 2), ('/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/35/image_03072025_15_35_01_6242.jpg', '/home/pi/Desktop/images/03072025/15/34/image_03072025_15_34_01_4623.jpg', '/home/pi/Desktop/images/03072025/15/33/image_03072025_15_33_01_6897.jpg', '/home/pi/Desktop/images/03072025/15/32/image_03072025_15_32_02_0061.jpg', '/home/pi/Desktop/images/03072025/15/31/image_03072025_15_31_01_7563.jpg', '/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/35/image_03072025_15_35_01_6242.jpg
/home/pi/Desktop/images/03072025/15/34/image_03072025_15_34_01_4623.jpg
/home/pi/Desktop/images/03072025/15/33/image_03072025_15_33_01_6897.jpg
/home/pi/Desktop/images/03072025/15/32/image_03072025_15_32_02_0061.jpg
/home/pi/Desktop/images/03072025/15/31/image_03072025_15_31_01_7563.jpg
/home/pi/Desktop/images/03072025/15/30/image_03072025_15_30_01_7450.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.406231164932251 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:37:03.397507
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/36/image_03072025_15_36_01_9950.jpg', 2), ('/home/pi/Desktop/images/03072025/15/35/image_03072025_15_35_01_6242.jpg', 2), ('/home/pi/Desktop/images/03072025/15/34/image_03072025_15_34_01_4623.jpg', 2), ('/home/pi/Desktop/images/03072025/15/33/image_03072025_15_33_01_6897.jpg', 2), ('/home/pi/Desktop/images/03072025/15/32/image_03072025_15_32_02_0061.jpg', 2), ('/home/pi/Desktop/images/03072025/15/31/image_03072025_15_31_01_7563.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/36/image_03072025_15_36_01_9950.jpg', '/home/pi/Desktop/images/03072025/15/35/image_03072025_15_35_01_6242.jpg', '/home/pi/Desktop/images/03072025/15/34/image_03072025_15_34_01_4623.jpg', '/home/pi/Desktop/images/03072025/15/33/image_03072025_15_33_01_6897.jpg', '/home/pi/Desktop/images/03072025/15/32/image_03072025_15_32_02_0061.jpg', '/home/pi/Desktop/images/03072025/15/31/image_03072025_15_31_01_7563.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/36/image_03072025_15_36_01_9950.jpg
/home/pi/Desktop/images/03072025/15/35/image_03072025_15_35_01_6242.jpg
/home/pi/Desktop/images/03072025/15/34/image_03072025_15_34_01_4623.jpg
/home/pi/Desktop/images/03072025/15/33/image_03072025_15_33_01_6897.jpg
/home/pi/Desktop/images/03072025/15/32/image_03072025_15_32_02_0061.jpg
/home/pi/Desktop/images/03072025/15/31/image_03072025_15_31_01_7563.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.2803430557250977 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:38:03.355975
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/37/image_03072025_15_37_01_3358.jpg', 2), ('/home/pi/Desktop/images/03072025/15/36/image_03072025_15_36_01_9950.jpg', 2), ('/home/pi/Desktop/images/03072025/15/35/image_03072025_15_35_01_6242.jpg', 2), ('/home/pi/Desktop/images/03072025/15/34/image_03072025_15_34_01_4623.jpg', 2), ('/home/pi/Desktop/images/03072025/15/33/image_03072025_15_33_01_6897.jpg', 2), ('/home/pi/Desktop/images/03072025/15/32/image_03072025_15_32_02_0061.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/37/image_03072025_15_37_01_3358.jpg', '/home/pi/Desktop/images/03072025/15/36/image_03072025_15_36_01_9950.jpg', '/home/pi/Desktop/images/03072025/15/35/image_03072025_15_35_01_6242.jpg', '/home/pi/Desktop/images/03072025/15/34/image_03072025_15_34_01_4623.jpg', '/home/pi/Desktop/images/03072025/15/33/image_03072025_15_33_01_6897.jpg', '/home/pi/Desktop/images/03072025/15/32/image_03072025_15_32_02_0061.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/37/image_03072025_15_37_01_3358.jpg
/home/pi/Desktop/images/03072025/15/36/image_03072025_15_36_01_9950.jpg
/home/pi/Desktop/images/03072025/15/35/image_03072025_15_35_01_6242.jpg
/home/pi/Desktop/images/03072025/15/34/image_03072025_15_34_01_4623.jpg
/home/pi/Desktop/images/03072025/15/33/image_03072025_15_33_01_6897.jpg
/home/pi/Desktop/images/03072025/15/32/image_03072025_15_32_02_0061.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.1289196014404297 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:39:03.719180
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/38/image_03072025_15_38_01_4033.jpg', 2), ('/home/pi/Desktop/images/03072025/15/37/image_03072025_15_37_01_3358.jpg', 2), ('/home/pi/Desktop/images/03072025/15/36/image_03072025_15_36_01_9950.jpg', 2), ('/home/pi/Desktop/images/03072025/15/35/image_03072025_15_35_01_6242.jpg', 2), ('/home/pi/Desktop/images/03072025/15/34/image_03072025_15_34_01_4623.jpg', 2), ('/home/pi/Desktop/images/03072025/15/33/image_03072025_15_33_01_6897.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/38/image_03072025_15_38_01_4033.jpg', '/home/pi/Desktop/images/03072025/15/37/image_03072025_15_37_01_3358.jpg', '/home/pi/Desktop/images/03072025/15/36/image_03072025_15_36_01_9950.jpg', '/home/pi/Desktop/images/03072025/15/35/image_03072025_15_35_01_6242.jpg', '/home/pi/Desktop/images/03072025/15/34/image_03072025_15_34_01_4623.jpg', '/home/pi/Desktop/images/03072025/15/33/image_03072025_15_33_01_6897.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/38/image_03072025_15_38_01_4033.jpg
/home/pi/Desktop/images/03072025/15/37/image_03072025_15_37_01_3358.jpg
/home/pi/Desktop/images/03072025/15/36/image_03072025_15_36_01_9950.jpg
/home/pi/Desktop/images/03072025/15/35/image_03072025_15_35_01_6242.jpg
/home/pi/Desktop/images/03072025/15/34/image_03072025_15_34_01_4623.jpg
/home/pi/Desktop/images/03072025/15/33/image_03072025_15_33_01_6897.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8086421489715576 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:40:03.011568
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/39/image_03072025_15_39_01_8971.jpg', 2), ('/home/pi/Desktop/images/03072025/15/38/image_03072025_15_38_01_4033.jpg', 2), ('/home/pi/Desktop/images/03072025/15/37/image_03072025_15_37_01_3358.jpg', 2), ('/home/pi/Desktop/images/03072025/15/36/image_03072025_15_36_01_9950.jpg', 2), ('/home/pi/Desktop/images/03072025/15/35/image_03072025_15_35_01_6242.jpg', 2), ('/home/pi/Desktop/images/03072025/15/34/image_03072025_15_34_01_4623.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/39/image_03072025_15_39_01_8971.jpg', '/home/pi/Desktop/images/03072025/15/38/image_03072025_15_38_01_4033.jpg', '/home/pi/Desktop/images/03072025/15/37/image_03072025_15_37_01_3358.jpg', '/home/pi/Desktop/images/03072025/15/36/image_03072025_15_36_01_9950.jpg', '/home/pi/Desktop/images/03072025/15/35/image_03072025_15_35_01_6242.jpg', '/home/pi/Desktop/images/03072025/15/34/image_03072025_15_34_01_4623.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/39/image_03072025_15_39_01_8971.jpg
/home/pi/Desktop/images/03072025/15/38/image_03072025_15_38_01_4033.jpg
/home/pi/Desktop/images/03072025/15/37/image_03072025_15_37_01_3358.jpg
/home/pi/Desktop/images/03072025/15/36/image_03072025_15_36_01_9950.jpg
/home/pi/Desktop/images/03072025/15/35/image_03072025_15_35_01_6242.jpg
/home/pi/Desktop/images/03072025/15/34/image_03072025_15_34_01_4623.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7498700618743896 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:41:03.299054
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/40/image_03072025_15_40_01_8289.jpg', 2), ('/home/pi/Desktop/images/03072025/15/39/image_03072025_15_39_01_8971.jpg', 2), ('/home/pi/Desktop/images/03072025/15/38/image_03072025_15_38_01_4033.jpg', 2), ('/home/pi/Desktop/images/03072025/15/37/image_03072025_15_37_01_3358.jpg', 2), ('/home/pi/Desktop/images/03072025/15/36/image_03072025_15_36_01_9950.jpg', 2), ('/home/pi/Desktop/images/03072025/15/35/image_03072025_15_35_01_6242.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/40/image_03072025_15_40_01_8289.jpg', '/home/pi/Desktop/images/03072025/15/39/image_03072025_15_39_01_8971.jpg', '/home/pi/Desktop/images/03072025/15/38/image_03072025_15_38_01_4033.jpg', '/home/pi/Desktop/images/03072025/15/37/image_03072025_15_37_01_3358.jpg', '/home/pi/Desktop/images/03072025/15/36/image_03072025_15_36_01_9950.jpg', '/home/pi/Desktop/images/03072025/15/35/image_03072025_15_35_01_6242.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/40/image_03072025_15_40_01_8289.jpg
/home/pi/Desktop/images/03072025/15/39/image_03072025_15_39_01_8971.jpg
/home/pi/Desktop/images/03072025/15/38/image_03072025_15_38_01_4033.jpg
/home/pi/Desktop/images/03072025/15/37/image_03072025_15_37_01_3358.jpg
/home/pi/Desktop/images/03072025/15/36/image_03072025_15_36_01_9950.jpg
/home/pi/Desktop/images/03072025/15/35/image_03072025_15_35_01_6242.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.284931182861328 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:42:03.215683
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/41/image_03072025_15_41_01_4893.jpg', 2), ('/home/pi/Desktop/images/03072025/15/40/image_03072025_15_40_01_8289.jpg', 2), ('/home/pi/Desktop/images/03072025/15/39/image_03072025_15_39_01_8971.jpg', 2), ('/home/pi/Desktop/images/03072025/15/38/image_03072025_15_38_01_4033.jpg', 2), ('/home/pi/Desktop/images/03072025/15/37/image_03072025_15_37_01_3358.jpg', 2), ('/home/pi/Desktop/images/03072025/15/36/image_03072025_15_36_01_9950.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/41/image_03072025_15_41_01_4893.jpg', '/home/pi/Desktop/images/03072025/15/40/image_03072025_15_40_01_8289.jpg', '/home/pi/Desktop/images/03072025/15/39/image_03072025_15_39_01_8971.jpg', '/home/pi/Desktop/images/03072025/15/38/image_03072025_15_38_01_4033.jpg', '/home/pi/Desktop/images/03072025/15/37/image_03072025_15_37_01_3358.jpg', '/home/pi/Desktop/images/03072025/15/36/image_03072025_15_36_01_9950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/41/image_03072025_15_41_01_4893.jpg
/home/pi/Desktop/images/03072025/15/40/image_03072025_15_40_01_8289.jpg
/home/pi/Desktop/images/03072025/15/39/image_03072025_15_39_01_8971.jpg
/home/pi/Desktop/images/03072025/15/38/image_03072025_15_38_01_4033.jpg
/home/pi/Desktop/images/03072025/15/37/image_03072025_15_37_01_3358.jpg
/home/pi/Desktop/images/03072025/15/36/image_03072025_15_36_01_9950.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.214144468307495 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:43:03.628819
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/42/image_03072025_15_42_01_3408.jpg', 2), ('/home/pi/Desktop/images/03072025/15/41/image_03072025_15_41_01_4893.jpg', 2), ('/home/pi/Desktop/images/03072025/15/40/image_03072025_15_40_01_8289.jpg', 2), ('/home/pi/Desktop/images/03072025/15/39/image_03072025_15_39_01_8971.jpg', 2), ('/home/pi/Desktop/images/03072025/15/38/image_03072025_15_38_01_4033.jpg', 2), ('/home/pi/Desktop/images/03072025/15/37/image_03072025_15_37_01_3358.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/42/image_03072025_15_42_01_3408.jpg', '/home/pi/Desktop/images/03072025/15/41/image_03072025_15_41_01_4893.jpg', '/home/pi/Desktop/images/03072025/15/40/image_03072025_15_40_01_8289.jpg', '/home/pi/Desktop/images/03072025/15/39/image_03072025_15_39_01_8971.jpg', '/home/pi/Desktop/images/03072025/15/38/image_03072025_15_38_01_4033.jpg', '/home/pi/Desktop/images/03072025/15/37/image_03072025_15_37_01_3358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/42/image_03072025_15_42_01_3408.jpg
/home/pi/Desktop/images/03072025/15/41/image_03072025_15_41_01_4893.jpg
/home/pi/Desktop/images/03072025/15/40/image_03072025_15_40_01_8289.jpg
/home/pi/Desktop/images/03072025/15/39/image_03072025_15_39_01_8971.jpg
/home/pi/Desktop/images/03072025/15/38/image_03072025_15_38_01_4033.jpg
/home/pi/Desktop/images/03072025/15/37/image_03072025_15_37_01_3358.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.2949321269989014 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:44:02.837599
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/43/image_03072025_15_43_01_6104.jpg', 2), ('/home/pi/Desktop/images/03072025/15/42/image_03072025_15_42_01_3408.jpg', 2), ('/home/pi/Desktop/images/03072025/15/41/image_03072025_15_41_01_4893.jpg', 2), ('/home/pi/Desktop/images/03072025/15/40/image_03072025_15_40_01_8289.jpg', 2), ('/home/pi/Desktop/images/03072025/15/39/image_03072025_15_39_01_8971.jpg', 2), ('/home/pi/Desktop/images/03072025/15/38/image_03072025_15_38_01_4033.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/43/image_03072025_15_43_01_6104.jpg', '/home/pi/Desktop/images/03072025/15/42/image_03072025_15_42_01_3408.jpg', '/home/pi/Desktop/images/03072025/15/41/image_03072025_15_41_01_4893.jpg', '/home/pi/Desktop/images/03072025/15/40/image_03072025_15_40_01_8289.jpg', '/home/pi/Desktop/images/03072025/15/39/image_03072025_15_39_01_8971.jpg', '/home/pi/Desktop/images/03072025/15/38/image_03072025_15_38_01_4033.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/43/image_03072025_15_43_01_6104.jpg
/home/pi/Desktop/images/03072025/15/42/image_03072025_15_42_01_3408.jpg
/home/pi/Desktop/images/03072025/15/41/image_03072025_15_41_01_4893.jpg
/home/pi/Desktop/images/03072025/15/40/image_03072025_15_40_01_8289.jpg
/home/pi/Desktop/images/03072025/15/39/image_03072025_15_39_01_8971.jpg
/home/pi/Desktop/images/03072025/15/38/image_03072025_15_38_01_4033.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.2454676628112793 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:45:03.251362
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/44/image_03072025_15_44_01_6062.jpg', 2), ('/home/pi/Desktop/images/03072025/15/43/image_03072025_15_43_01_6104.jpg', 2), ('/home/pi/Desktop/images/03072025/15/42/image_03072025_15_42_01_3408.jpg', 2), ('/home/pi/Desktop/images/03072025/15/41/image_03072025_15_41_01_4893.jpg', 2), ('/home/pi/Desktop/images/03072025/15/40/image_03072025_15_40_01_8289.jpg', 2), ('/home/pi/Desktop/images/03072025/15/39/image_03072025_15_39_01_8971.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/44/image_03072025_15_44_01_6062.jpg', '/home/pi/Desktop/images/03072025/15/43/image_03072025_15_43_01_6104.jpg', '/home/pi/Desktop/images/03072025/15/42/image_03072025_15_42_01_3408.jpg', '/home/pi/Desktop/images/03072025/15/41/image_03072025_15_41_01_4893.jpg', '/home/pi/Desktop/images/03072025/15/40/image_03072025_15_40_01_8289.jpg', '/home/pi/Desktop/images/03072025/15/39/image_03072025_15_39_01_8971.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/44/image_03072025_15_44_01_6062.jpg
/home/pi/Desktop/images/03072025/15/43/image_03072025_15_43_01_6104.jpg
/home/pi/Desktop/images/03072025/15/42/image_03072025_15_42_01_3408.jpg
/home/pi/Desktop/images/03072025/15/41/image_03072025_15_41_01_4893.jpg
/home/pi/Desktop/images/03072025/15/40/image_03072025_15_40_01_8289.jpg
/home/pi/Desktop/images/03072025/15/39/image_03072025_15_39_01_8971.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.26104736328125 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:46:03.662669
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/45/image_03072025_15_45_01_3342.jpg', 2), ('/home/pi/Desktop/images/03072025/15/44/image_03072025_15_44_01_6062.jpg', 2), ('/home/pi/Desktop/images/03072025/15/43/image_03072025_15_43_01_6104.jpg', 2), ('/home/pi/Desktop/images/03072025/15/42/image_03072025_15_42_01_3408.jpg', 2), ('/home/pi/Desktop/images/03072025/15/41/image_03072025_15_41_01_4893.jpg', 2), ('/home/pi/Desktop/images/03072025/15/40/image_03072025_15_40_01_8289.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/45/image_03072025_15_45_01_3342.jpg', '/home/pi/Desktop/images/03072025/15/44/image_03072025_15_44_01_6062.jpg', '/home/pi/Desktop/images/03072025/15/43/image_03072025_15_43_01_6104.jpg', '/home/pi/Desktop/images/03072025/15/42/image_03072025_15_42_01_3408.jpg', '/home/pi/Desktop/images/03072025/15/41/image_03072025_15_41_01_4893.jpg', '/home/pi/Desktop/images/03072025/15/40/image_03072025_15_40_01_8289.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/45/image_03072025_15_45_01_3342.jpg
/home/pi/Desktop/images/03072025/15/44/image_03072025_15_44_01_6062.jpg
/home/pi/Desktop/images/03072025/15/43/image_03072025_15_43_01_6104.jpg
/home/pi/Desktop/images/03072025/15/42/image_03072025_15_42_01_3408.jpg
/home/pi/Desktop/images/03072025/15/41/image_03072025_15_41_01_4893.jpg
/home/pi/Desktop/images/03072025/15/40/image_03072025_15_40_01_8289.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.2887322902679443 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:47:03.294214
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/46/image_03072025_15_46_01_4590.jpg', 2), ('/home/pi/Desktop/images/03072025/15/45/image_03072025_15_45_01_3342.jpg', 2), ('/home/pi/Desktop/images/03072025/15/44/image_03072025_15_44_01_6062.jpg', 2), ('/home/pi/Desktop/images/03072025/15/43/image_03072025_15_43_01_6104.jpg', 2), ('/home/pi/Desktop/images/03072025/15/42/image_03072025_15_42_01_3408.jpg', 2), ('/home/pi/Desktop/images/03072025/15/41/image_03072025_15_41_01_4893.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/46/image_03072025_15_46_01_4590.jpg', '/home/pi/Desktop/images/03072025/15/45/image_03072025_15_45_01_3342.jpg', '/home/pi/Desktop/images/03072025/15/44/image_03072025_15_44_01_6062.jpg', '/home/pi/Desktop/images/03072025/15/43/image_03072025_15_43_01_6104.jpg', '/home/pi/Desktop/images/03072025/15/42/image_03072025_15_42_01_3408.jpg', '/home/pi/Desktop/images/03072025/15/41/image_03072025_15_41_01_4893.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/46/image_03072025_15_46_01_4590.jpg
/home/pi/Desktop/images/03072025/15/45/image_03072025_15_45_01_3342.jpg
/home/pi/Desktop/images/03072025/15/44/image_03072025_15_44_01_6062.jpg
/home/pi/Desktop/images/03072025/15/43/image_03072025_15_43_01_6104.jpg
/home/pi/Desktop/images/03072025/15/42/image_03072025_15_42_01_3408.jpg
/home/pi/Desktop/images/03072025/15/41/image_03072025_15_41_01_4893.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.1176109313964844 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:48:03.342933
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/47/image_03072025_15_47_02_1440.jpg', 2), ('/home/pi/Desktop/images/03072025/15/46/image_03072025_15_46_01_4590.jpg', 2), ('/home/pi/Desktop/images/03072025/15/45/image_03072025_15_45_01_3342.jpg', 2), ('/home/pi/Desktop/images/03072025/15/44/image_03072025_15_44_01_6062.jpg', 2), ('/home/pi/Desktop/images/03072025/15/43/image_03072025_15_43_01_6104.jpg', 2), ('/home/pi/Desktop/images/03072025/15/42/image_03072025_15_42_01_3408.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/47/image_03072025_15_47_02_1440.jpg', '/home/pi/Desktop/images/03072025/15/46/image_03072025_15_46_01_4590.jpg', '/home/pi/Desktop/images/03072025/15/45/image_03072025_15_45_01_3342.jpg', '/home/pi/Desktop/images/03072025/15/44/image_03072025_15_44_01_6062.jpg', '/home/pi/Desktop/images/03072025/15/43/image_03072025_15_43_01_6104.jpg', '/home/pi/Desktop/images/03072025/15/42/image_03072025_15_42_01_3408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/47/image_03072025_15_47_02_1440.jpg
/home/pi/Desktop/images/03072025/15/46/image_03072025_15_46_01_4590.jpg
/home/pi/Desktop/images/03072025/15/45/image_03072025_15_45_01_3342.jpg
/home/pi/Desktop/images/03072025/15/44/image_03072025_15_44_01_6062.jpg
/home/pi/Desktop/images/03072025/15/43/image_03072025_15_43_01_6104.jpg
/home/pi/Desktop/images/03072025/15/42/image_03072025_15_42_01_3408.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5202934741973877 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:49:05.060759
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/48/image_03072025_15_48_01_3940.jpg', 2), ('/home/pi/Desktop/images/03072025/15/47/image_03072025_15_47_02_1440.jpg', 2), ('/home/pi/Desktop/images/03072025/15/46/image_03072025_15_46_01_4590.jpg', 2), ('/home/pi/Desktop/images/03072025/15/45/image_03072025_15_45_01_3342.jpg', 2), ('/home/pi/Desktop/images/03072025/15/44/image_03072025_15_44_01_6062.jpg', 2), ('/home/pi/Desktop/images/03072025/15/43/image_03072025_15_43_01_6104.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/48/image_03072025_15_48_01_3940.jpg', '/home/pi/Desktop/images/03072025/15/47/image_03072025_15_47_02_1440.jpg', '/home/pi/Desktop/images/03072025/15/46/image_03072025_15_46_01_4590.jpg', '/home/pi/Desktop/images/03072025/15/45/image_03072025_15_45_01_3342.jpg', '/home/pi/Desktop/images/03072025/15/44/image_03072025_15_44_01_6062.jpg', '/home/pi/Desktop/images/03072025/15/43/image_03072025_15_43_01_6104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/48/image_03072025_15_48_01_3940.jpg
/home/pi/Desktop/images/03072025/15/47/image_03072025_15_47_02_1440.jpg
/home/pi/Desktop/images/03072025/15/46/image_03072025_15_46_01_4590.jpg
/home/pi/Desktop/images/03072025/15/45/image_03072025_15_45_01_3342.jpg
/home/pi/Desktop/images/03072025/15/44/image_03072025_15_44_01_6062.jpg
/home/pi/Desktop/images/03072025/15/43/image_03072025_15_43_01_6104.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.518702983856201 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:50:03.174708
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/49/image_03072025_15_49_01_8784.jpg', 2), ('/home/pi/Desktop/images/03072025/15/48/image_03072025_15_48_01_3940.jpg', 2), ('/home/pi/Desktop/images/03072025/15/47/image_03072025_15_47_02_1440.jpg', 2), ('/home/pi/Desktop/images/03072025/15/46/image_03072025_15_46_01_4590.jpg', 2), ('/home/pi/Desktop/images/03072025/15/45/image_03072025_15_45_01_3342.jpg', 2), ('/home/pi/Desktop/images/03072025/15/44/image_03072025_15_44_01_6062.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/49/image_03072025_15_49_01_8784.jpg', '/home/pi/Desktop/images/03072025/15/48/image_03072025_15_48_01_3940.jpg', '/home/pi/Desktop/images/03072025/15/47/image_03072025_15_47_02_1440.jpg', '/home/pi/Desktop/images/03072025/15/46/image_03072025_15_46_01_4590.jpg', '/home/pi/Desktop/images/03072025/15/45/image_03072025_15_45_01_3342.jpg', '/home/pi/Desktop/images/03072025/15/44/image_03072025_15_44_01_6062.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/49/image_03072025_15_49_01_8784.jpg
/home/pi/Desktop/images/03072025/15/48/image_03072025_15_48_01_3940.jpg
/home/pi/Desktop/images/03072025/15/47/image_03072025_15_47_02_1440.jpg
/home/pi/Desktop/images/03072025/15/46/image_03072025_15_46_01_4590.jpg
/home/pi/Desktop/images/03072025/15/45/image_03072025_15_45_01_3342.jpg
/home/pi/Desktop/images/03072025/15/44/image_03072025_15_44_01_6062.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6200907230377197 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:51:04.252702
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/50/image_03072025_15_50_01_7453.jpg', 2), ('/home/pi/Desktop/images/03072025/15/49/image_03072025_15_49_01_8784.jpg', 2), ('/home/pi/Desktop/images/03072025/15/48/image_03072025_15_48_01_3940.jpg', 2), ('/home/pi/Desktop/images/03072025/15/47/image_03072025_15_47_02_1440.jpg', 2), ('/home/pi/Desktop/images/03072025/15/46/image_03072025_15_46_01_4590.jpg', 2), ('/home/pi/Desktop/images/03072025/15/45/image_03072025_15_45_01_3342.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/50/image_03072025_15_50_01_7453.jpg', '/home/pi/Desktop/images/03072025/15/49/image_03072025_15_49_01_8784.jpg', '/home/pi/Desktop/images/03072025/15/48/image_03072025_15_48_01_3940.jpg', '/home/pi/Desktop/images/03072025/15/47/image_03072025_15_47_02_1440.jpg', '/home/pi/Desktop/images/03072025/15/46/image_03072025_15_46_01_4590.jpg', '/home/pi/Desktop/images/03072025/15/45/image_03072025_15_45_01_3342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/50/image_03072025_15_50_01_7453.jpg
/home/pi/Desktop/images/03072025/15/49/image_03072025_15_49_01_8784.jpg
/home/pi/Desktop/images/03072025/15/48/image_03072025_15_48_01_3940.jpg
/home/pi/Desktop/images/03072025/15/47/image_03072025_15_47_02_1440.jpg
/home/pi/Desktop/images/03072025/15/46/image_03072025_15_46_01_4590.jpg
/home/pi/Desktop/images/03072025/15/45/image_03072025_15_45_01_3342.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.250424385070801 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:52:02.961332
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/51/image_03072025_15_51_01_5918.jpg', 2), ('/home/pi/Desktop/images/03072025/15/50/image_03072025_15_50_01_7453.jpg', 2), ('/home/pi/Desktop/images/03072025/15/49/image_03072025_15_49_01_8784.jpg', 2), ('/home/pi/Desktop/images/03072025/15/48/image_03072025_15_48_01_3940.jpg', 2), ('/home/pi/Desktop/images/03072025/15/47/image_03072025_15_47_02_1440.jpg', 2), ('/home/pi/Desktop/images/03072025/15/46/image_03072025_15_46_01_4590.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/51/image_03072025_15_51_01_5918.jpg', '/home/pi/Desktop/images/03072025/15/50/image_03072025_15_50_01_7453.jpg', '/home/pi/Desktop/images/03072025/15/49/image_03072025_15_49_01_8784.jpg', '/home/pi/Desktop/images/03072025/15/48/image_03072025_15_48_01_3940.jpg', '/home/pi/Desktop/images/03072025/15/47/image_03072025_15_47_02_1440.jpg', '/home/pi/Desktop/images/03072025/15/46/image_03072025_15_46_01_4590.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/51/image_03072025_15_51_01_5918.jpg
/home/pi/Desktop/images/03072025/15/50/image_03072025_15_50_01_7453.jpg
/home/pi/Desktop/images/03072025/15/49/image_03072025_15_49_01_8784.jpg
/home/pi/Desktop/images/03072025/15/48/image_03072025_15_48_01_3940.jpg
/home/pi/Desktop/images/03072025/15/47/image_03072025_15_47_02_1440.jpg
/home/pi/Desktop/images/03072025/15/46/image_03072025_15_46_01_4590.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.313493251800537 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:53:04.671162
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/52/image_03072025_15_52_02_2680.jpg', 2), ('/home/pi/Desktop/images/03072025/15/51/image_03072025_15_51_01_5918.jpg', 2), ('/home/pi/Desktop/images/03072025/15/50/image_03072025_15_50_01_7453.jpg', 2), ('/home/pi/Desktop/images/03072025/15/49/image_03072025_15_49_01_8784.jpg', 2), ('/home/pi/Desktop/images/03072025/15/48/image_03072025_15_48_01_3940.jpg', 2), ('/home/pi/Desktop/images/03072025/15/47/image_03072025_15_47_02_1440.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/52/image_03072025_15_52_02_2680.jpg', '/home/pi/Desktop/images/03072025/15/51/image_03072025_15_51_01_5918.jpg', '/home/pi/Desktop/images/03072025/15/50/image_03072025_15_50_01_7453.jpg', '/home/pi/Desktop/images/03072025/15/49/image_03072025_15_49_01_8784.jpg', '/home/pi/Desktop/images/03072025/15/48/image_03072025_15_48_01_3940.jpg', '/home/pi/Desktop/images/03072025/15/47/image_03072025_15_47_02_1440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/52/image_03072025_15_52_02_2680.jpg
/home/pi/Desktop/images/03072025/15/51/image_03072025_15_51_01_5918.jpg
/home/pi/Desktop/images/03072025/15/50/image_03072025_15_50_01_7453.jpg
/home/pi/Desktop/images/03072025/15/49/image_03072025_15_49_01_8784.jpg
/home/pi/Desktop/images/03072025/15/48/image_03072025_15_48_01_3940.jpg
/home/pi/Desktop/images/03072025/15/47/image_03072025_15_47_02_1440.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.861783266067505 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:54:03.485408
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/53/image_03072025_15_53_01_4522.jpg', 2), ('/home/pi/Desktop/images/03072025/15/52/image_03072025_15_52_02_2680.jpg', 2), ('/home/pi/Desktop/images/03072025/15/51/image_03072025_15_51_01_5918.jpg', 2), ('/home/pi/Desktop/images/03072025/15/50/image_03072025_15_50_01_7453.jpg', 2), ('/home/pi/Desktop/images/03072025/15/49/image_03072025_15_49_01_8784.jpg', 2), ('/home/pi/Desktop/images/03072025/15/48/image_03072025_15_48_01_3940.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/53/image_03072025_15_53_01_4522.jpg', '/home/pi/Desktop/images/03072025/15/52/image_03072025_15_52_02_2680.jpg', '/home/pi/Desktop/images/03072025/15/51/image_03072025_15_51_01_5918.jpg', '/home/pi/Desktop/images/03072025/15/50/image_03072025_15_50_01_7453.jpg', '/home/pi/Desktop/images/03072025/15/49/image_03072025_15_49_01_8784.jpg', '/home/pi/Desktop/images/03072025/15/48/image_03072025_15_48_01_3940.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/53/image_03072025_15_53_01_4522.jpg
/home/pi/Desktop/images/03072025/15/52/image_03072025_15_52_02_2680.jpg
/home/pi/Desktop/images/03072025/15/51/image_03072025_15_51_01_5918.jpg
/home/pi/Desktop/images/03072025/15/50/image_03072025_15_50_01_7453.jpg
/home/pi/Desktop/images/03072025/15/49/image_03072025_15_49_01_8784.jpg
/home/pi/Desktop/images/03072025/15/48/image_03072025_15_48_01_3940.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7876245975494385 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:55:04.088972
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/54/image_03072025_15_54_01_4849.jpg', 2), ('/home/pi/Desktop/images/03072025/15/53/image_03072025_15_53_01_4522.jpg', 2), ('/home/pi/Desktop/images/03072025/15/52/image_03072025_15_52_02_2680.jpg', 2), ('/home/pi/Desktop/images/03072025/15/51/image_03072025_15_51_01_5918.jpg', 2), ('/home/pi/Desktop/images/03072025/15/50/image_03072025_15_50_01_7453.jpg', 2), ('/home/pi/Desktop/images/03072025/15/49/image_03072025_15_49_01_8784.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/54/image_03072025_15_54_01_4849.jpg', '/home/pi/Desktop/images/03072025/15/53/image_03072025_15_53_01_4522.jpg', '/home/pi/Desktop/images/03072025/15/52/image_03072025_15_52_02_2680.jpg', '/home/pi/Desktop/images/03072025/15/51/image_03072025_15_51_01_5918.jpg', '/home/pi/Desktop/images/03072025/15/50/image_03072025_15_50_01_7453.jpg', '/home/pi/Desktop/images/03072025/15/49/image_03072025_15_49_01_8784.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/54/image_03072025_15_54_01_4849.jpg
/home/pi/Desktop/images/03072025/15/53/image_03072025_15_53_01_4522.jpg
/home/pi/Desktop/images/03072025/15/52/image_03072025_15_52_02_2680.jpg
/home/pi/Desktop/images/03072025/15/51/image_03072025_15_51_01_5918.jpg
/home/pi/Desktop/images/03072025/15/50/image_03072025_15_50_01_7453.jpg
/home/pi/Desktop/images/03072025/15/49/image_03072025_15_49_01_8784.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.2100987434387207 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:56:03.214137
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/55/image_03072025_15_55_02_0112.jpg', 2), ('/home/pi/Desktop/images/03072025/15/54/image_03072025_15_54_01_4849.jpg', 2), ('/home/pi/Desktop/images/03072025/15/53/image_03072025_15_53_01_4522.jpg', 2), ('/home/pi/Desktop/images/03072025/15/52/image_03072025_15_52_02_2680.jpg', 2), ('/home/pi/Desktop/images/03072025/15/51/image_03072025_15_51_01_5918.jpg', 2), ('/home/pi/Desktop/images/03072025/15/50/image_03072025_15_50_01_7453.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/55/image_03072025_15_55_02_0112.jpg', '/home/pi/Desktop/images/03072025/15/54/image_03072025_15_54_01_4849.jpg', '/home/pi/Desktop/images/03072025/15/53/image_03072025_15_53_01_4522.jpg', '/home/pi/Desktop/images/03072025/15/52/image_03072025_15_52_02_2680.jpg', '/home/pi/Desktop/images/03072025/15/51/image_03072025_15_51_01_5918.jpg', '/home/pi/Desktop/images/03072025/15/50/image_03072025_15_50_01_7453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/55/image_03072025_15_55_02_0112.jpg
/home/pi/Desktop/images/03072025/15/54/image_03072025_15_54_01_4849.jpg
/home/pi/Desktop/images/03072025/15/53/image_03072025_15_53_01_4522.jpg
/home/pi/Desktop/images/03072025/15/52/image_03072025_15_52_02_2680.jpg
/home/pi/Desktop/images/03072025/15/51/image_03072025_15_51_01_5918.jpg
/home/pi/Desktop/images/03072025/15/50/image_03072025_15_50_01_7453.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5415005683898926 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:57:04.410149
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/56/image_03072025_15_56_02_2273.jpg', 2), ('/home/pi/Desktop/images/03072025/15/55/image_03072025_15_55_02_0112.jpg', 2), ('/home/pi/Desktop/images/03072025/15/54/image_03072025_15_54_01_4849.jpg', 2), ('/home/pi/Desktop/images/03072025/15/53/image_03072025_15_53_01_4522.jpg', 2), ('/home/pi/Desktop/images/03072025/15/52/image_03072025_15_52_02_2680.jpg', 2), ('/home/pi/Desktop/images/03072025/15/51/image_03072025_15_51_01_5918.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/56/image_03072025_15_56_02_2273.jpg', '/home/pi/Desktop/images/03072025/15/55/image_03072025_15_55_02_0112.jpg', '/home/pi/Desktop/images/03072025/15/54/image_03072025_15_54_01_4849.jpg', '/home/pi/Desktop/images/03072025/15/53/image_03072025_15_53_01_4522.jpg', '/home/pi/Desktop/images/03072025/15/52/image_03072025_15_52_02_2680.jpg', '/home/pi/Desktop/images/03072025/15/51/image_03072025_15_51_01_5918.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/56/image_03072025_15_56_02_2273.jpg
/home/pi/Desktop/images/03072025/15/55/image_03072025_15_55_02_0112.jpg
/home/pi/Desktop/images/03072025/15/54/image_03072025_15_54_01_4849.jpg
/home/pi/Desktop/images/03072025/15/53/image_03072025_15_53_01_4522.jpg
/home/pi/Desktop/images/03072025/15/52/image_03072025_15_52_02_2680.jpg
/home/pi/Desktop/images/03072025/15/51/image_03072025_15_51_01_5918.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.1604206562042236 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 15:59:04.224203
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg', 2), ('/home/pi/Desktop/images/03072025/15/57/image_03072025_15_57_01_8299.jpg', 2), ('/home/pi/Desktop/images/03072025/15/56/image_03072025_15_56_02_2273.jpg', 2), ('/home/pi/Desktop/images/03072025/15/55/image_03072025_15_55_02_0112.jpg', 2), ('/home/pi/Desktop/images/03072025/15/54/image_03072025_15_54_01_4849.jpg', 2), ('/home/pi/Desktop/images/03072025/15/53/image_03072025_15_53_01_4522.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg', '/home/pi/Desktop/images/03072025/15/57/image_03072025_15_57_01_8299.jpg', '/home/pi/Desktop/images/03072025/15/56/image_03072025_15_56_02_2273.jpg', '/home/pi/Desktop/images/03072025/15/55/image_03072025_15_55_02_0112.jpg', '/home/pi/Desktop/images/03072025/15/54/image_03072025_15_54_01_4849.jpg', '/home/pi/Desktop/images/03072025/15/53/image_03072025_15_53_01_4522.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg
/home/pi/Desktop/images/03072025/15/57/image_03072025_15_57_01_8299.jpg
/home/pi/Desktop/images/03072025/15/56/image_03072025_15_56_02_2273.jpg
/home/pi/Desktop/images/03072025/15/55/image_03072025_15_55_02_0112.jpg
/home/pi/Desktop/images/03072025/15/54/image_03072025_15_54_01_4849.jpg
/home/pi/Desktop/images/03072025/15/53/image_03072025_15_53_01_4522.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.664015769958496 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:00:02.911786
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg', 2), ('/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg', 2), ('/home/pi/Desktop/images/03072025/15/57/image_03072025_15_57_01_8299.jpg', 2), ('/home/pi/Desktop/images/03072025/15/56/image_03072025_15_56_02_2273.jpg', 2), ('/home/pi/Desktop/images/03072025/15/55/image_03072025_15_55_02_0112.jpg', 2), ('/home/pi/Desktop/images/03072025/15/54/image_03072025_15_54_01_4849.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg', '/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg', '/home/pi/Desktop/images/03072025/15/57/image_03072025_15_57_01_8299.jpg', '/home/pi/Desktop/images/03072025/15/56/image_03072025_15_56_02_2273.jpg', '/home/pi/Desktop/images/03072025/15/55/image_03072025_15_55_02_0112.jpg', '/home/pi/Desktop/images/03072025/15/54/image_03072025_15_54_01_4849.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg
/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg
/home/pi/Desktop/images/03072025/15/57/image_03072025_15_57_01_8299.jpg
/home/pi/Desktop/images/03072025/15/56/image_03072025_15_56_02_2273.jpg
/home/pi/Desktop/images/03072025/15/55/image_03072025_15_55_02_0112.jpg
/home/pi/Desktop/images/03072025/15/54/image_03072025_15_54_01_4849.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.184335231781006 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:01:04.148684
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg', 2), ('/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg', 2), ('/home/pi/Desktop/images/03072025/15/57/image_03072025_15_57_01_8299.jpg', 2), ('/home/pi/Desktop/images/03072025/15/56/image_03072025_15_56_02_2273.jpg', 2), ('/home/pi/Desktop/images/03072025/15/55/image_03072025_15_55_02_0112.jpg', 2), ('/home/pi/Desktop/images/03072025/15/54/image_03072025_15_54_01_4849.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg', '/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg', '/home/pi/Desktop/images/03072025/15/57/image_03072025_15_57_01_8299.jpg', '/home/pi/Desktop/images/03072025/15/56/image_03072025_15_56_02_2273.jpg', '/home/pi/Desktop/images/03072025/15/55/image_03072025_15_55_02_0112.jpg', '/home/pi/Desktop/images/03072025/15/54/image_03072025_15_54_01_4849.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg
/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg
/home/pi/Desktop/images/03072025/15/57/image_03072025_15_57_01_8299.jpg
/home/pi/Desktop/images/03072025/15/56/image_03072025_15_56_02_2273.jpg
/home/pi/Desktop/images/03072025/15/55/image_03072025_15_55_02_0112.jpg
/home/pi/Desktop/images/03072025/15/54/image_03072025_15_54_01_4849.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.283250331878662 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:02:03.207831
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg', 2), ('/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg', 2), ('/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg', 2), ('/home/pi/Desktop/images/03072025/15/57/image_03072025_15_57_01_8299.jpg', 2), ('/home/pi/Desktop/images/03072025/15/56/image_03072025_15_56_02_2273.jpg', 2), ('/home/pi/Desktop/images/03072025/15/55/image_03072025_15_55_02_0112.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg', '/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg', '/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg', '/home/pi/Desktop/images/03072025/15/57/image_03072025_15_57_01_8299.jpg', '/home/pi/Desktop/images/03072025/15/56/image_03072025_15_56_02_2273.jpg', '/home/pi/Desktop/images/03072025/15/55/image_03072025_15_55_02_0112.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg
/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg
/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg
/home/pi/Desktop/images/03072025/15/57/image_03072025_15_57_01_8299.jpg
/home/pi/Desktop/images/03072025/15/56/image_03072025_15_56_02_2273.jpg
/home/pi/Desktop/images/03072025/15/55/image_03072025_15_55_02_0112.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.1386661529541016 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:03:04.667157
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg', 2), ('/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg', 2), ('/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg', 2), ('/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg', 2), ('/home/pi/Desktop/images/03072025/15/57/image_03072025_15_57_01_8299.jpg', 2), ('/home/pi/Desktop/images/03072025/15/56/image_03072025_15_56_02_2273.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg', '/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg', '/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg', '/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg', '/home/pi/Desktop/images/03072025/15/57/image_03072025_15_57_01_8299.jpg', '/home/pi/Desktop/images/03072025/15/56/image_03072025_15_56_02_2273.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg
/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg
/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg
/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg
/home/pi/Desktop/images/03072025/15/57/image_03072025_15_57_01_8299.jpg
/home/pi/Desktop/images/03072025/15/56/image_03072025_15_56_02_2273.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.002791166305542 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:04:03.350767
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg', 2), ('/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg', 2), ('/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg', 2), ('/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg', 2), ('/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg', 2), ('/home/pi/Desktop/images/03072025/15/57/image_03072025_15_57_01_8299.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg', '/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg', '/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg', '/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg', '/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg', '/home/pi/Desktop/images/03072025/15/57/image_03072025_15_57_01_8299.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg
/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg
/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg
/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg
/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg
/home/pi/Desktop/images/03072025/15/57/image_03072025_15_57_01_8299.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.840331554412842 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:05:03.764186
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg', 2), ('/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg', 2), ('/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg', 2), ('/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg', 2), ('/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg', 2), ('/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg', '/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg', '/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg', '/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg', '/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg', '/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg
/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg
/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg
/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg
/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg
/home/pi/Desktop/images/03072025/15/58/image_03072025_15_58_02_0137.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4068961143493652 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:06:04.879822
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg', 2), ('/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg', 2), ('/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg', 2), ('/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg', 2), ('/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg', 2), ('/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg', '/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg', '/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg', '/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg', '/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg', '/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg
/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg
/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg
/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg
/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg
/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4107489585876465 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:07:03.231640
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg', 2), ('/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg', 2), ('/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg', 2), ('/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg', 2), ('/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg', 2), ('/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg', '/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg', '/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg', '/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg', '/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg', '/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg
/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg
/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg
/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg
/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg
/home/pi/Desktop/images/03072025/15/59/image_03072025_15_59_02_0283.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3867461681365967 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:08:03.089006
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg', 2), ('/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg', 2), ('/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg', 2), ('/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg', 2), ('/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg', 2), ('/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg', '/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg', '/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg', '/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg', '/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg', '/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg
/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg
/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg
/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg
/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg
/home/pi/Desktop/images/03072025/16/00/image_03072025_16_00_02_3345.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.832847833633423 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:09:03.355964
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg', 2), ('/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg', 2), ('/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg', 2), ('/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg', 2), ('/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg', 2), ('/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg', '/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg', '/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg', '/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg', '/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg', '/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg
/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg
/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg
/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg
/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg
/home/pi/Desktop/images/03072025/16/02/image_03072025_16_02_02_2427.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.259197950363159 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:10:03.200098
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg', 2), ('/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg', 2), ('/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg', 2), ('/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg', 2), ('/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg', 2), ('/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg', '/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg', '/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg', '/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg', '/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg', '/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg
/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg
/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg
/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg
/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg
/home/pi/Desktop/images/03072025/16/03/image_03072025_16_03_01_7602.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.175032615661621 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:11:04.881027
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg', 2), ('/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg', 2), ('/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg', 2), ('/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg', 2), ('/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg', 2), ('/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg', '/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg', '/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg', '/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg', '/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg', '/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg
/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg
/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg
/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg
/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg
/home/pi/Desktop/images/03072025/16/04/image_03072025_16_04_01_5104.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7559244632720947 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:12:03.448623
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg', 2), ('/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg', 2), ('/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg', 2), ('/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg', 2), ('/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg', 2), ('/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg', '/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg', '/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg', '/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg', '/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg', '/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg
/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg
/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg
/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg
/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg
/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.060145854949951 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:13:03.878173
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg', 2), ('/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg', 2), ('/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg', 2), ('/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg', 2), ('/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg', 2), ('/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg', '/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg', '/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg', '/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg', '/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg', '/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg
/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg
/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg
/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg
/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg
/home/pi/Desktop/images/03072025/16/05/image_03072025_16_05_01_7726.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.0789175033569336 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:14:02.733029
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg', 2), ('/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg', 2), ('/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg', 2), ('/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg', 2), ('/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg', 2), ('/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg', '/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg', '/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg', '/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg', '/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg', '/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg
/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg
/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg
/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg
/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg
/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.196321725845337 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:15:04.511764
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg', 2), ('/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg', 2), ('/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg', 2), ('/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg', 2), ('/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg', 2), ('/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg', '/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg', '/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg', '/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg', '/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg', '/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg
/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg
/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg
/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg
/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg
/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5201640129089355 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:16:03.226242
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg', 2), ('/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg', 2), ('/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg', 2), ('/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg', 2), ('/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg', 2), ('/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg', '/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg', '/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg', '/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg', '/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg', '/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg
/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg
/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg
/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg
/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg
/home/pi/Desktop/images/03072025/16/06/image_03072025_16_06_01_8751.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.766113042831421 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:17:03.439532
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg', 2), ('/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg', 2), ('/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg', 2), ('/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg', 2), ('/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg', 2), ('/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg', '/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg', '/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg', '/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg', '/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg', '/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg
/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg
/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg
/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg
/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg
/home/pi/Desktop/images/03072025/16/08/image_03072025_16_08_01_2152.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.693218946456909 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:18:02.816340
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg', 2), ('/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg', 2), ('/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg', 2), ('/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg', 2), ('/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg', 2), ('/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg', '/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg', '/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg', '/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg', '/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg', '/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg
/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg
/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg
/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg
/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg
/home/pi/Desktop/images/03072025/16/09/image_03072025_16_09_01_6112.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.179783344268799 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:19:03.834497
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/20/image_03072025_16_20_01_7256.jpg', 2), ('/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg', 2), ('/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg', 2), ('/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg', 2), ('/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg', 2), ('/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg', '/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg', '/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg', '/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg', '/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg
/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg
/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg
/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg
/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.2523348331451416 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/03072025/16/20/image_03072025_16_20_01_7256.jpg'],)
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:20:03.041403
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg', 2), ('/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg', 2), ('/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg', 2), ('/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg', 2), ('/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg', 2), ('/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg', '/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg', '/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg', '/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg', '/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg', '/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg
/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg
/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg
/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg
/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg
/home/pi/Desktop/images/03072025/16/10/image_03072025_16_10_01_3969.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.1819093227386475 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:21:05.313564
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg', 2), ('/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg', 2), ('/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg', 2), ('/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg', 2), ('/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg', 2), ('/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg', '/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg', '/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg', '/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg', '/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg', '/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg
/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg
/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg
/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg
/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg
/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.338230848312378 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:22:03.761808
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg', 2), ('/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg', 2), ('/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg', 2), ('/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg', 2), ('/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg', 2), ('/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg', '/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg', '/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg', '/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg', '/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg', '/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg
/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg
/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg
/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg
/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg
/home/pi/Desktop/images/03072025/16/11/image_03072025_16_11_01_6613.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.2571587562561035 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:23:03.274872
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/21/image_03072025_16_21_01_4847.jpg', 2), ('/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg', 2), ('/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg', 2), ('/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg', 2), ('/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg', 2), ('/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/21/image_03072025_16_21_01_4847.jpg', '/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg', '/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg', '/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg', '/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg', '/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/21/image_03072025_16_21_01_4847.jpg
/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg
/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg
/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg
/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg
/home/pi/Desktop/images/03072025/16/12/image_03072025_16_12_02_1708.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.346658706665039 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:24:03.509607
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/23/image_03072025_16_23_02_1854.jpg', 2), ('/home/pi/Desktop/images/03072025/16/21/image_03072025_16_21_01_4847.jpg', 2), ('/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg', 2), ('/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg', 2), ('/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg', 2), ('/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/23/image_03072025_16_23_02_1854.jpg', '/home/pi/Desktop/images/03072025/16/21/image_03072025_16_21_01_4847.jpg', '/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg', '/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg', '/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg', '/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/23/image_03072025_16_23_02_1854.jpg
/home/pi/Desktop/images/03072025/16/21/image_03072025_16_21_01_4847.jpg
/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg
/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg
/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg
/home/pi/Desktop/images/03072025/16/14/image_03072025_16_14_01_8721.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.327720880508423 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:25:06.766886
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/24/image_03072025_16_24_01_3822.jpg', 2), ('/home/pi/Desktop/images/03072025/16/23/image_03072025_16_23_02_1854.jpg', 2), ('/home/pi/Desktop/images/03072025/16/21/image_03072025_16_21_01_4847.jpg', 2), ('/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg', 2), ('/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg', 2), ('/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/24/image_03072025_16_24_01_3822.jpg', '/home/pi/Desktop/images/03072025/16/23/image_03072025_16_23_02_1854.jpg', '/home/pi/Desktop/images/03072025/16/21/image_03072025_16_21_01_4847.jpg', '/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg', '/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg', '/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/24/image_03072025_16_24_01_3822.jpg
/home/pi/Desktop/images/03072025/16/23/image_03072025_16_23_02_1854.jpg
/home/pi/Desktop/images/03072025/16/21/image_03072025_16_21_01_4847.jpg
/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg
/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg
/home/pi/Desktop/images/03072025/16/17/image_03072025_16_17_01_7314.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.7249834537506104 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:26:04.577607
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/25/image_03072025_16_25_01_8140.jpg', 2), ('/home/pi/Desktop/images/03072025/16/24/image_03072025_16_24_01_3822.jpg', 2), ('/home/pi/Desktop/images/03072025/16/23/image_03072025_16_23_02_1854.jpg', 2), ('/home/pi/Desktop/images/03072025/16/21/image_03072025_16_21_01_4847.jpg', 2), ('/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg', 2), ('/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/25/image_03072025_16_25_01_8140.jpg', '/home/pi/Desktop/images/03072025/16/24/image_03072025_16_24_01_3822.jpg', '/home/pi/Desktop/images/03072025/16/23/image_03072025_16_23_02_1854.jpg', '/home/pi/Desktop/images/03072025/16/21/image_03072025_16_21_01_4847.jpg', '/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg', '/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/25/image_03072025_16_25_01_8140.jpg
/home/pi/Desktop/images/03072025/16/24/image_03072025_16_24_01_3822.jpg
/home/pi/Desktop/images/03072025/16/23/image_03072025_16_23_02_1854.jpg
/home/pi/Desktop/images/03072025/16/21/image_03072025_16_21_01_4847.jpg
/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg
/home/pi/Desktop/images/03072025/16/18/image_03072025_16_18_01_6018.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.12054443359375 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:27:03.433164
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/26/image_03072025_16_26_02_3086.jpg', 2), ('/home/pi/Desktop/images/03072025/16/25/image_03072025_16_25_01_8140.jpg', 2), ('/home/pi/Desktop/images/03072025/16/24/image_03072025_16_24_01_3822.jpg', 2), ('/home/pi/Desktop/images/03072025/16/23/image_03072025_16_23_02_1854.jpg', 2), ('/home/pi/Desktop/images/03072025/16/21/image_03072025_16_21_01_4847.jpg', 2), ('/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/26/image_03072025_16_26_02_3086.jpg', '/home/pi/Desktop/images/03072025/16/25/image_03072025_16_25_01_8140.jpg', '/home/pi/Desktop/images/03072025/16/24/image_03072025_16_24_01_3822.jpg', '/home/pi/Desktop/images/03072025/16/23/image_03072025_16_23_02_1854.jpg', '/home/pi/Desktop/images/03072025/16/21/image_03072025_16_21_01_4847.jpg', '/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/26/image_03072025_16_26_02_3086.jpg
/home/pi/Desktop/images/03072025/16/25/image_03072025_16_25_01_8140.jpg
/home/pi/Desktop/images/03072025/16/24/image_03072025_16_24_01_3822.jpg
/home/pi/Desktop/images/03072025/16/23/image_03072025_16_23_02_1854.jpg
/home/pi/Desktop/images/03072025/16/21/image_03072025_16_21_01_4847.jpg
/home/pi/Desktop/images/03072025/16/19/image_03072025_16_19_01_2779.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3592212200164795 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:28:03.499974
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/27/image_03072025_16_27_02_1460.jpg', 2), ('/home/pi/Desktop/images/03072025/16/26/image_03072025_16_26_02_3086.jpg', 2), ('/home/pi/Desktop/images/03072025/16/25/image_03072025_16_25_01_8140.jpg', 2), ('/home/pi/Desktop/images/03072025/16/24/image_03072025_16_24_01_3822.jpg', 2), ('/home/pi/Desktop/images/03072025/16/23/image_03072025_16_23_02_1854.jpg', 2), ('/home/pi/Desktop/images/03072025/16/21/image_03072025_16_21_01_4847.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/27/image_03072025_16_27_02_1460.jpg', '/home/pi/Desktop/images/03072025/16/26/image_03072025_16_26_02_3086.jpg', '/home/pi/Desktop/images/03072025/16/25/image_03072025_16_25_01_8140.jpg', '/home/pi/Desktop/images/03072025/16/24/image_03072025_16_24_01_3822.jpg', '/home/pi/Desktop/images/03072025/16/23/image_03072025_16_23_02_1854.jpg', '/home/pi/Desktop/images/03072025/16/21/image_03072025_16_21_01_4847.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/27/image_03072025_16_27_02_1460.jpg
/home/pi/Desktop/images/03072025/16/26/image_03072025_16_26_02_3086.jpg
/home/pi/Desktop/images/03072025/16/25/image_03072025_16_25_01_8140.jpg
/home/pi/Desktop/images/03072025/16/24/image_03072025_16_24_01_3822.jpg
/home/pi/Desktop/images/03072025/16/23/image_03072025_16_23_02_1854.jpg
/home/pi/Desktop/images/03072025/16/21/image_03072025_16_21_01_4847.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.2705090045928955 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:29:03.912850
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg', 2), ('/home/pi/Desktop/images/03072025/16/27/image_03072025_16_27_02_1460.jpg', 2), ('/home/pi/Desktop/images/03072025/16/26/image_03072025_16_26_02_3086.jpg', 2), ('/home/pi/Desktop/images/03072025/16/25/image_03072025_16_25_01_8140.jpg', 2), ('/home/pi/Desktop/images/03072025/16/24/image_03072025_16_24_01_3822.jpg', 2), ('/home/pi/Desktop/images/03072025/16/23/image_03072025_16_23_02_1854.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg', '/home/pi/Desktop/images/03072025/16/27/image_03072025_16_27_02_1460.jpg', '/home/pi/Desktop/images/03072025/16/26/image_03072025_16_26_02_3086.jpg', '/home/pi/Desktop/images/03072025/16/25/image_03072025_16_25_01_8140.jpg', '/home/pi/Desktop/images/03072025/16/24/image_03072025_16_24_01_3822.jpg', '/home/pi/Desktop/images/03072025/16/23/image_03072025_16_23_02_1854.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg
/home/pi/Desktop/images/03072025/16/27/image_03072025_16_27_02_1460.jpg
/home/pi/Desktop/images/03072025/16/26/image_03072025_16_26_02_3086.jpg
/home/pi/Desktop/images/03072025/16/25/image_03072025_16_25_01_8140.jpg
/home/pi/Desktop/images/03072025/16/24/image_03072025_16_24_01_3822.jpg
/home/pi/Desktop/images/03072025/16/23/image_03072025_16_23_02_1854.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4447338581085205 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:30:02.915345
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg', 2), ('/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg', 2), ('/home/pi/Desktop/images/03072025/16/27/image_03072025_16_27_02_1460.jpg', 2), ('/home/pi/Desktop/images/03072025/16/26/image_03072025_16_26_02_3086.jpg', 2), ('/home/pi/Desktop/images/03072025/16/25/image_03072025_16_25_01_8140.jpg', 2), ('/home/pi/Desktop/images/03072025/16/24/image_03072025_16_24_01_3822.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg', '/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg', '/home/pi/Desktop/images/03072025/16/27/image_03072025_16_27_02_1460.jpg', '/home/pi/Desktop/images/03072025/16/26/image_03072025_16_26_02_3086.jpg', '/home/pi/Desktop/images/03072025/16/25/image_03072025_16_25_01_8140.jpg', '/home/pi/Desktop/images/03072025/16/24/image_03072025_16_24_01_3822.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg
/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg
/home/pi/Desktop/images/03072025/16/27/image_03072025_16_27_02_1460.jpg
/home/pi/Desktop/images/03072025/16/26/image_03072025_16_26_02_3086.jpg
/home/pi/Desktop/images/03072025/16/25/image_03072025_16_25_01_8140.jpg
/home/pi/Desktop/images/03072025/16/24/image_03072025_16_24_01_3822.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.1236586570739746 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:31:03.735466
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg', 2), ('/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg', 2), ('/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg', 2), ('/home/pi/Desktop/images/03072025/16/27/image_03072025_16_27_02_1460.jpg', 2), ('/home/pi/Desktop/images/03072025/16/26/image_03072025_16_26_02_3086.jpg', 2), ('/home/pi/Desktop/images/03072025/16/25/image_03072025_16_25_01_8140.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg', '/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg', '/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg', '/home/pi/Desktop/images/03072025/16/27/image_03072025_16_27_02_1460.jpg', '/home/pi/Desktop/images/03072025/16/26/image_03072025_16_26_02_3086.jpg', '/home/pi/Desktop/images/03072025/16/25/image_03072025_16_25_01_8140.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg
/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg
/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg
/home/pi/Desktop/images/03072025/16/27/image_03072025_16_27_02_1460.jpg
/home/pi/Desktop/images/03072025/16/26/image_03072025_16_26_02_3086.jpg
/home/pi/Desktop/images/03072025/16/25/image_03072025_16_25_01_8140.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.825535535812378 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:32:03.638945
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg', 2), ('/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg', 2), ('/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg', 2), ('/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg', 2), ('/home/pi/Desktop/images/03072025/16/27/image_03072025_16_27_02_1460.jpg', 2), ('/home/pi/Desktop/images/03072025/16/26/image_03072025_16_26_02_3086.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg', '/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg', '/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg', '/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg', '/home/pi/Desktop/images/03072025/16/27/image_03072025_16_27_02_1460.jpg', '/home/pi/Desktop/images/03072025/16/26/image_03072025_16_26_02_3086.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg
/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg
/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg
/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg
/home/pi/Desktop/images/03072025/16/27/image_03072025_16_27_02_1460.jpg
/home/pi/Desktop/images/03072025/16/26/image_03072025_16_26_02_3086.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.154179811477661 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:33:04.253538
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg', 2), ('/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg', 2), ('/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg', 2), ('/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg', 2), ('/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg', 2), ('/home/pi/Desktop/images/03072025/16/27/image_03072025_16_27_02_1460.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg', '/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg', '/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg', '/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg', '/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg', '/home/pi/Desktop/images/03072025/16/27/image_03072025_16_27_02_1460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg
/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg
/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg
/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg
/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg
/home/pi/Desktop/images/03072025/16/27/image_03072025_16_27_02_1460.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.1792190074920654 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:34:03.488690
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg', 2), ('/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg', 2), ('/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg', 2), ('/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg', 2), ('/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg', 2), ('/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg', '/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg', '/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg', '/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg', '/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg', '/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg
/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg
/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg
/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg
/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg
/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.845970392227173 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:35:03.286910
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg', 2), ('/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg', 2), ('/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg', 2), ('/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg', 2), ('/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg', 2), ('/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg', '/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg', '/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg', '/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg', '/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg', '/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg
/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg
/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg
/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg
/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg
/home/pi/Desktop/images/03072025/16/28/image_03072025_16_28_01_6707.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5538551807403564 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:36:03.186005
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/34/image_03072025_16_34_02_2934.jpg', 2), ('/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg', 2), ('/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg', 2), ('/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg', 2), ('/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg', 2), ('/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/34/image_03072025_16_34_02_2934.jpg', '/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg', '/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg', '/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg', '/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg', '/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/34/image_03072025_16_34_02_2934.jpg
/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg
/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg
/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg
/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg
/home/pi/Desktop/images/03072025/16/29/image_03072025_16_29_01_9823.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.095315933227539 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:37:03.550049
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/36/image_03072025_16_36_01_2089.jpg', 2), ('/home/pi/Desktop/images/03072025/16/34/image_03072025_16_34_02_2934.jpg', 2), ('/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg', 2), ('/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg', 2), ('/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg', 2), ('/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/36/image_03072025_16_36_01_2089.jpg', '/home/pi/Desktop/images/03072025/16/34/image_03072025_16_34_02_2934.jpg', '/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg', '/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg', '/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg', '/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/36/image_03072025_16_36_01_2089.jpg
/home/pi/Desktop/images/03072025/16/34/image_03072025_16_34_02_2934.jpg
/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg
/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg
/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg
/home/pi/Desktop/images/03072025/16/30/image_03072025_16_30_01_9184.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.228060007095337 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:38:02.754299
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/37/image_03072025_16_37_01_6338.jpg', 2), ('/home/pi/Desktop/images/03072025/16/36/image_03072025_16_36_01_2089.jpg', 2), ('/home/pi/Desktop/images/03072025/16/34/image_03072025_16_34_02_2934.jpg', 2), ('/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg', 2), ('/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg', 2), ('/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/37/image_03072025_16_37_01_6338.jpg', '/home/pi/Desktop/images/03072025/16/36/image_03072025_16_36_01_2089.jpg', '/home/pi/Desktop/images/03072025/16/34/image_03072025_16_34_02_2934.jpg', '/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg', '/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg', '/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/37/image_03072025_16_37_01_6338.jpg
/home/pi/Desktop/images/03072025/16/36/image_03072025_16_36_01_2089.jpg
/home/pi/Desktop/images/03072025/16/34/image_03072025_16_34_02_2934.jpg
/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg
/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg
/home/pi/Desktop/images/03072025/16/31/image_03072025_16_31_01_3472.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4385905265808105 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:39:03.359902
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/38/image_03072025_16_38_01_6804.jpg', 2), ('/home/pi/Desktop/images/03072025/16/37/image_03072025_16_37_01_6338.jpg', 2), ('/home/pi/Desktop/images/03072025/16/36/image_03072025_16_36_01_2089.jpg', 2), ('/home/pi/Desktop/images/03072025/16/34/image_03072025_16_34_02_2934.jpg', 2), ('/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg', 2), ('/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/38/image_03072025_16_38_01_6804.jpg', '/home/pi/Desktop/images/03072025/16/37/image_03072025_16_37_01_6338.jpg', '/home/pi/Desktop/images/03072025/16/36/image_03072025_16_36_01_2089.jpg', '/home/pi/Desktop/images/03072025/16/34/image_03072025_16_34_02_2934.jpg', '/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg', '/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/38/image_03072025_16_38_01_6804.jpg
/home/pi/Desktop/images/03072025/16/37/image_03072025_16_37_01_6338.jpg
/home/pi/Desktop/images/03072025/16/36/image_03072025_16_36_01_2089.jpg
/home/pi/Desktop/images/03072025/16/34/image_03072025_16_34_02_2934.jpg
/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg
/home/pi/Desktop/images/03072025/16/32/image_03072025_16_32_01_6886.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.995379686355591 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:40:03.233476
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/39/image_03072025_16_39_01_1973.jpg', 2), ('/home/pi/Desktop/images/03072025/16/38/image_03072025_16_38_01_6804.jpg', 2), ('/home/pi/Desktop/images/03072025/16/37/image_03072025_16_37_01_6338.jpg', 2), ('/home/pi/Desktop/images/03072025/16/36/image_03072025_16_36_01_2089.jpg', 2), ('/home/pi/Desktop/images/03072025/16/34/image_03072025_16_34_02_2934.jpg', 2), ('/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/39/image_03072025_16_39_01_1973.jpg', '/home/pi/Desktop/images/03072025/16/38/image_03072025_16_38_01_6804.jpg', '/home/pi/Desktop/images/03072025/16/37/image_03072025_16_37_01_6338.jpg', '/home/pi/Desktop/images/03072025/16/36/image_03072025_16_36_01_2089.jpg', '/home/pi/Desktop/images/03072025/16/34/image_03072025_16_34_02_2934.jpg', '/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/39/image_03072025_16_39_01_1973.jpg
/home/pi/Desktop/images/03072025/16/38/image_03072025_16_38_01_6804.jpg
/home/pi/Desktop/images/03072025/16/37/image_03072025_16_37_01_6338.jpg
/home/pi/Desktop/images/03072025/16/36/image_03072025_16_36_01_2089.jpg
/home/pi/Desktop/images/03072025/16/34/image_03072025_16_34_02_2934.jpg
/home/pi/Desktop/images/03072025/16/33/image_03072025_16_33_02_1414.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.1487510204315186 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:41:04.641173
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/40/image_03072025_16_40_01_2744.jpg', 2), ('/home/pi/Desktop/images/03072025/16/39/image_03072025_16_39_01_1973.jpg', 2), ('/home/pi/Desktop/images/03072025/16/38/image_03072025_16_38_01_6804.jpg', 2), ('/home/pi/Desktop/images/03072025/16/37/image_03072025_16_37_01_6338.jpg', 2), ('/home/pi/Desktop/images/03072025/16/36/image_03072025_16_36_01_2089.jpg', 2), ('/home/pi/Desktop/images/03072025/16/34/image_03072025_16_34_02_2934.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/40/image_03072025_16_40_01_2744.jpg', '/home/pi/Desktop/images/03072025/16/39/image_03072025_16_39_01_1973.jpg', '/home/pi/Desktop/images/03072025/16/38/image_03072025_16_38_01_6804.jpg', '/home/pi/Desktop/images/03072025/16/37/image_03072025_16_37_01_6338.jpg', '/home/pi/Desktop/images/03072025/16/36/image_03072025_16_36_01_2089.jpg', '/home/pi/Desktop/images/03072025/16/34/image_03072025_16_34_02_2934.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/40/image_03072025_16_40_01_2744.jpg
/home/pi/Desktop/images/03072025/16/39/image_03072025_16_39_01_1973.jpg
/home/pi/Desktop/images/03072025/16/38/image_03072025_16_38_01_6804.jpg
/home/pi/Desktop/images/03072025/16/37/image_03072025_16_37_01_6338.jpg
/home/pi/Desktop/images/03072025/16/36/image_03072025_16_36_01_2089.jpg
/home/pi/Desktop/images/03072025/16/34/image_03072025_16_34_02_2934.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.423835277557373 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:42:02.843495
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/41/image_03072025_16_41_01_6454.jpg', 2), ('/home/pi/Desktop/images/03072025/16/40/image_03072025_16_40_01_2744.jpg', 2), ('/home/pi/Desktop/images/03072025/16/39/image_03072025_16_39_01_1973.jpg', 2), ('/home/pi/Desktop/images/03072025/16/38/image_03072025_16_38_01_6804.jpg', 2), ('/home/pi/Desktop/images/03072025/16/37/image_03072025_16_37_01_6338.jpg', 2), ('/home/pi/Desktop/images/03072025/16/36/image_03072025_16_36_01_2089.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/41/image_03072025_16_41_01_6454.jpg', '/home/pi/Desktop/images/03072025/16/40/image_03072025_16_40_01_2744.jpg', '/home/pi/Desktop/images/03072025/16/39/image_03072025_16_39_01_1973.jpg', '/home/pi/Desktop/images/03072025/16/38/image_03072025_16_38_01_6804.jpg', '/home/pi/Desktop/images/03072025/16/37/image_03072025_16_37_01_6338.jpg', '/home/pi/Desktop/images/03072025/16/36/image_03072025_16_36_01_2089.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/41/image_03072025_16_41_01_6454.jpg
/home/pi/Desktop/images/03072025/16/40/image_03072025_16_40_01_2744.jpg
/home/pi/Desktop/images/03072025/16/39/image_03072025_16_39_01_1973.jpg
/home/pi/Desktop/images/03072025/16/38/image_03072025_16_38_01_6804.jpg
/home/pi/Desktop/images/03072025/16/37/image_03072025_16_37_01_6338.jpg
/home/pi/Desktop/images/03072025/16/36/image_03072025_16_36_01_2089.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.1761133670806885 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:43:03.659727
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg', 2), ('/home/pi/Desktop/images/03072025/16/41/image_03072025_16_41_01_6454.jpg', 2), ('/home/pi/Desktop/images/03072025/16/40/image_03072025_16_40_01_2744.jpg', 2), ('/home/pi/Desktop/images/03072025/16/39/image_03072025_16_39_01_1973.jpg', 2), ('/home/pi/Desktop/images/03072025/16/38/image_03072025_16_38_01_6804.jpg', 2), ('/home/pi/Desktop/images/03072025/16/37/image_03072025_16_37_01_6338.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg', '/home/pi/Desktop/images/03072025/16/41/image_03072025_16_41_01_6454.jpg', '/home/pi/Desktop/images/03072025/16/40/image_03072025_16_40_01_2744.jpg', '/home/pi/Desktop/images/03072025/16/39/image_03072025_16_39_01_1973.jpg', '/home/pi/Desktop/images/03072025/16/38/image_03072025_16_38_01_6804.jpg', '/home/pi/Desktop/images/03072025/16/37/image_03072025_16_37_01_6338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg
/home/pi/Desktop/images/03072025/16/41/image_03072025_16_41_01_6454.jpg
/home/pi/Desktop/images/03072025/16/40/image_03072025_16_40_01_2744.jpg
/home/pi/Desktop/images/03072025/16/39/image_03072025_16_39_01_1973.jpg
/home/pi/Desktop/images/03072025/16/38/image_03072025_16_38_01_6804.jpg
/home/pi/Desktop/images/03072025/16/37/image_03072025_16_37_01_6338.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8014628887176514 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:44:03.557998
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg', 2), ('/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg', 2), ('/home/pi/Desktop/images/03072025/16/41/image_03072025_16_41_01_6454.jpg', 2), ('/home/pi/Desktop/images/03072025/16/40/image_03072025_16_40_01_2744.jpg', 2), ('/home/pi/Desktop/images/03072025/16/39/image_03072025_16_39_01_1973.jpg', 2), ('/home/pi/Desktop/images/03072025/16/38/image_03072025_16_38_01_6804.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg', '/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg', '/home/pi/Desktop/images/03072025/16/41/image_03072025_16_41_01_6454.jpg', '/home/pi/Desktop/images/03072025/16/40/image_03072025_16_40_01_2744.jpg', '/home/pi/Desktop/images/03072025/16/39/image_03072025_16_39_01_1973.jpg', '/home/pi/Desktop/images/03072025/16/38/image_03072025_16_38_01_6804.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg
/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg
/home/pi/Desktop/images/03072025/16/41/image_03072025_16_41_01_6454.jpg
/home/pi/Desktop/images/03072025/16/40/image_03072025_16_40_01_2744.jpg
/home/pi/Desktop/images/03072025/16/39/image_03072025_16_39_01_1973.jpg
/home/pi/Desktop/images/03072025/16/38/image_03072025_16_38_01_6804.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7782704830169678 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:45:04.201047
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg', 2), ('/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg', 2), ('/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg', 2), ('/home/pi/Desktop/images/03072025/16/41/image_03072025_16_41_01_6454.jpg', 2), ('/home/pi/Desktop/images/03072025/16/40/image_03072025_16_40_01_2744.jpg', 2), ('/home/pi/Desktop/images/03072025/16/39/image_03072025_16_39_01_1973.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg', '/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg', '/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg', '/home/pi/Desktop/images/03072025/16/41/image_03072025_16_41_01_6454.jpg', '/home/pi/Desktop/images/03072025/16/40/image_03072025_16_40_01_2744.jpg', '/home/pi/Desktop/images/03072025/16/39/image_03072025_16_39_01_1973.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg
/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg
/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg
/home/pi/Desktop/images/03072025/16/41/image_03072025_16_41_01_6454.jpg
/home/pi/Desktop/images/03072025/16/40/image_03072025_16_40_01_2744.jpg
/home/pi/Desktop/images/03072025/16/39/image_03072025_16_39_01_1973.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1754002571105957 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:46:02.902933
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg', 2), ('/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg', 2), ('/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg', 2), ('/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg', 2), ('/home/pi/Desktop/images/03072025/16/41/image_03072025_16_41_01_6454.jpg', 2), ('/home/pi/Desktop/images/03072025/16/40/image_03072025_16_40_01_2744.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg', '/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg', '/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg', '/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg', '/home/pi/Desktop/images/03072025/16/41/image_03072025_16_41_01_6454.jpg', '/home/pi/Desktop/images/03072025/16/40/image_03072025_16_40_01_2744.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg
/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg
/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg
/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg
/home/pi/Desktop/images/03072025/16/41/image_03072025_16_41_01_6454.jpg
/home/pi/Desktop/images/03072025/16/40/image_03072025_16_40_01_2744.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.2279584407806396 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:47:03.488471
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg', 2), ('/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg', 2), ('/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg', 2), ('/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg', 2), ('/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg', 2), ('/home/pi/Desktop/images/03072025/16/41/image_03072025_16_41_01_6454.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg', '/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg', '/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg', '/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg', '/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg', '/home/pi/Desktop/images/03072025/16/41/image_03072025_16_41_01_6454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg
/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg
/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg
/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg
/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg
/home/pi/Desktop/images/03072025/16/41/image_03072025_16_41_01_6454.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3492939472198486 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:48:03.244734
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg', 2), ('/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg', 2), ('/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg', 2), ('/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg', 2), ('/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg', 2), ('/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg', '/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg', '/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg', '/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg', '/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg', '/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg
/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg
/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg
/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg
/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg
/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.606266498565674 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:49:05.530658
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg', 2), ('/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg', 2), ('/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg', 2), ('/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg', 2), ('/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg', 2), ('/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg', '/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg', '/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg', '/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg', '/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg', '/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg
/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg
/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg
/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg
/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg
/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.8312087059020996 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:50:03.031052
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg', 2), ('/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg', 2), ('/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg', 2), ('/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg', 2), ('/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg', 2), ('/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg', '/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg', '/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg', '/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg', '/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg', '/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg
/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg
/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg
/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg
/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg
/home/pi/Desktop/images/03072025/16/42/image_03072025_16_42_01_6241.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.398937463760376 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:51:03.552277
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/48/image_03072025_16_48_01_4782.jpg', 2), ('/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg', 2), ('/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg', 2), ('/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg', 2), ('/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg', 2), ('/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/48/image_03072025_16_48_01_4782.jpg', '/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg', '/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg', '/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg', '/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg', '/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/48/image_03072025_16_48_01_4782.jpg
/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg
/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg
/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg
/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg
/home/pi/Desktop/images/03072025/16/43/image_03072025_16_43_01_3232.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.751084089279175 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:52:03.407064
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/51/image_03072025_16_51_01_4715.jpg', 2), ('/home/pi/Desktop/images/03072025/16/48/image_03072025_16_48_01_4782.jpg', 2), ('/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg', 2), ('/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg', 2), ('/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg', 2), ('/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/51/image_03072025_16_51_01_4715.jpg', '/home/pi/Desktop/images/03072025/16/48/image_03072025_16_48_01_4782.jpg', '/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg', '/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg', '/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg', '/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/51/image_03072025_16_51_01_4715.jpg
/home/pi/Desktop/images/03072025/16/48/image_03072025_16_48_01_4782.jpg
/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg
/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg
/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg
/home/pi/Desktop/images/03072025/16/44/image_03072025_16_44_01_5695.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.332946300506592 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:53:03.700083
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/52/image_03072025_16_52_01_3957.jpg', 2), ('/home/pi/Desktop/images/03072025/16/51/image_03072025_16_51_01_4715.jpg', 2), ('/home/pi/Desktop/images/03072025/16/48/image_03072025_16_48_01_4782.jpg', 2), ('/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg', 2), ('/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg', 2), ('/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/52/image_03072025_16_52_01_3957.jpg', '/home/pi/Desktop/images/03072025/16/51/image_03072025_16_51_01_4715.jpg', '/home/pi/Desktop/images/03072025/16/48/image_03072025_16_48_01_4782.jpg', '/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg', '/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg', '/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/52/image_03072025_16_52_01_3957.jpg
/home/pi/Desktop/images/03072025/16/51/image_03072025_16_51_01_4715.jpg
/home/pi/Desktop/images/03072025/16/48/image_03072025_16_48_01_4782.jpg
/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg
/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg
/home/pi/Desktop/images/03072025/16/45/image_03072025_16_45_02_0576.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.351557493209839 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:54:02.830644
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/53/image_03072025_16_53_01_6552.jpg', 2), ('/home/pi/Desktop/images/03072025/16/52/image_03072025_16_52_01_3957.jpg', 2), ('/home/pi/Desktop/images/03072025/16/51/image_03072025_16_51_01_4715.jpg', 2), ('/home/pi/Desktop/images/03072025/16/48/image_03072025_16_48_01_4782.jpg', 2), ('/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg', 2), ('/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/53/image_03072025_16_53_01_6552.jpg', '/home/pi/Desktop/images/03072025/16/52/image_03072025_16_52_01_3957.jpg', '/home/pi/Desktop/images/03072025/16/51/image_03072025_16_51_01_4715.jpg', '/home/pi/Desktop/images/03072025/16/48/image_03072025_16_48_01_4782.jpg', '/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg', '/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/53/image_03072025_16_53_01_6552.jpg
/home/pi/Desktop/images/03072025/16/52/image_03072025_16_52_01_3957.jpg
/home/pi/Desktop/images/03072025/16/51/image_03072025_16_51_01_4715.jpg
/home/pi/Desktop/images/03072025/16/48/image_03072025_16_48_01_4782.jpg
/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg
/home/pi/Desktop/images/03072025/16/46/image_03072025_16_46_01_4230.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6242825984954834 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:55:03.427078
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/54/image_03072025_16_54_01_6258.jpg', 2), ('/home/pi/Desktop/images/03072025/16/53/image_03072025_16_53_01_6552.jpg', 2), ('/home/pi/Desktop/images/03072025/16/52/image_03072025_16_52_01_3957.jpg', 2), ('/home/pi/Desktop/images/03072025/16/51/image_03072025_16_51_01_4715.jpg', 2), ('/home/pi/Desktop/images/03072025/16/48/image_03072025_16_48_01_4782.jpg', 2), ('/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/54/image_03072025_16_54_01_6258.jpg', '/home/pi/Desktop/images/03072025/16/53/image_03072025_16_53_01_6552.jpg', '/home/pi/Desktop/images/03072025/16/52/image_03072025_16_52_01_3957.jpg', '/home/pi/Desktop/images/03072025/16/51/image_03072025_16_51_01_4715.jpg', '/home/pi/Desktop/images/03072025/16/48/image_03072025_16_48_01_4782.jpg', '/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/54/image_03072025_16_54_01_6258.jpg
/home/pi/Desktop/images/03072025/16/53/image_03072025_16_53_01_6552.jpg
/home/pi/Desktop/images/03072025/16/52/image_03072025_16_52_01_3957.jpg
/home/pi/Desktop/images/03072025/16/51/image_03072025_16_51_01_4715.jpg
/home/pi/Desktop/images/03072025/16/48/image_03072025_16_48_01_4782.jpg
/home/pi/Desktop/images/03072025/16/47/image_03072025_16_47_01_3538.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4871883392333984 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:56:04.777074
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/55/image_03072025_16_55_01_3254.jpg', 2), ('/home/pi/Desktop/images/03072025/16/54/image_03072025_16_54_01_6258.jpg', 2), ('/home/pi/Desktop/images/03072025/16/53/image_03072025_16_53_01_6552.jpg', 2), ('/home/pi/Desktop/images/03072025/16/52/image_03072025_16_52_01_3957.jpg', 2), ('/home/pi/Desktop/images/03072025/16/51/image_03072025_16_51_01_4715.jpg', 2), ('/home/pi/Desktop/images/03072025/16/48/image_03072025_16_48_01_4782.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/55/image_03072025_16_55_01_3254.jpg', '/home/pi/Desktop/images/03072025/16/54/image_03072025_16_54_01_6258.jpg', '/home/pi/Desktop/images/03072025/16/53/image_03072025_16_53_01_6552.jpg', '/home/pi/Desktop/images/03072025/16/52/image_03072025_16_52_01_3957.jpg', '/home/pi/Desktop/images/03072025/16/51/image_03072025_16_51_01_4715.jpg', '/home/pi/Desktop/images/03072025/16/48/image_03072025_16_48_01_4782.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/55/image_03072025_16_55_01_3254.jpg
/home/pi/Desktop/images/03072025/16/54/image_03072025_16_54_01_6258.jpg
/home/pi/Desktop/images/03072025/16/53/image_03072025_16_53_01_6552.jpg
/home/pi/Desktop/images/03072025/16/52/image_03072025_16_52_01_3957.jpg
/home/pi/Desktop/images/03072025/16/51/image_03072025_16_51_01_4715.jpg
/home/pi/Desktop/images/03072025/16/48/image_03072025_16_48_01_4782.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2348103523254395 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:57:04.074828
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/56/image_03072025_16_56_01_5146.jpg', 2), ('/home/pi/Desktop/images/03072025/16/55/image_03072025_16_55_01_3254.jpg', 2), ('/home/pi/Desktop/images/03072025/16/54/image_03072025_16_54_01_6258.jpg', 2), ('/home/pi/Desktop/images/03072025/16/53/image_03072025_16_53_01_6552.jpg', 2), ('/home/pi/Desktop/images/03072025/16/52/image_03072025_16_52_01_3957.jpg', 2), ('/home/pi/Desktop/images/03072025/16/51/image_03072025_16_51_01_4715.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/56/image_03072025_16_56_01_5146.jpg', '/home/pi/Desktop/images/03072025/16/55/image_03072025_16_55_01_3254.jpg', '/home/pi/Desktop/images/03072025/16/54/image_03072025_16_54_01_6258.jpg', '/home/pi/Desktop/images/03072025/16/53/image_03072025_16_53_01_6552.jpg', '/home/pi/Desktop/images/03072025/16/52/image_03072025_16_52_01_3957.jpg', '/home/pi/Desktop/images/03072025/16/51/image_03072025_16_51_01_4715.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/56/image_03072025_16_56_01_5146.jpg
/home/pi/Desktop/images/03072025/16/55/image_03072025_16_55_01_3254.jpg
/home/pi/Desktop/images/03072025/16/54/image_03072025_16_54_01_6258.jpg
/home/pi/Desktop/images/03072025/16/53/image_03072025_16_53_01_6552.jpg
/home/pi/Desktop/images/03072025/16/52/image_03072025_16_52_01_3957.jpg
/home/pi/Desktop/images/03072025/16/51/image_03072025_16_51_01_4715.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5145044326782227 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 16:59:03.206585
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/58/image_03072025_16_58_02_0188.jpg', 2), ('/home/pi/Desktop/images/03072025/16/57/image_03072025_16_57_02_2641.jpg', 2), ('/home/pi/Desktop/images/03072025/16/56/image_03072025_16_56_01_5146.jpg', 2), ('/home/pi/Desktop/images/03072025/16/55/image_03072025_16_55_01_3254.jpg', 2), ('/home/pi/Desktop/images/03072025/16/54/image_03072025_16_54_01_6258.jpg', 2), ('/home/pi/Desktop/images/03072025/16/53/image_03072025_16_53_01_6552.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/58/image_03072025_16_58_02_0188.jpg', '/home/pi/Desktop/images/03072025/16/57/image_03072025_16_57_02_2641.jpg', '/home/pi/Desktop/images/03072025/16/56/image_03072025_16_56_01_5146.jpg', '/home/pi/Desktop/images/03072025/16/55/image_03072025_16_55_01_3254.jpg', '/home/pi/Desktop/images/03072025/16/54/image_03072025_16_54_01_6258.jpg', '/home/pi/Desktop/images/03072025/16/53/image_03072025_16_53_01_6552.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/58/image_03072025_16_58_02_0188.jpg
/home/pi/Desktop/images/03072025/16/57/image_03072025_16_57_02_2641.jpg
/home/pi/Desktop/images/03072025/16/56/image_03072025_16_56_01_5146.jpg
/home/pi/Desktop/images/03072025/16/55/image_03072025_16_55_01_3254.jpg
/home/pi/Desktop/images/03072025/16/54/image_03072025_16_54_01_6258.jpg
/home/pi/Desktop/images/03072025/16/53/image_03072025_16_53_01_6552.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.536989450454712 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:00:03.404296
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/16/59/image_03072025_16_59_01_4742.jpg', 2), ('/home/pi/Desktop/images/03072025/16/58/image_03072025_16_58_02_0188.jpg', 2), ('/home/pi/Desktop/images/03072025/16/57/image_03072025_16_57_02_2641.jpg', 2), ('/home/pi/Desktop/images/03072025/16/56/image_03072025_16_56_01_5146.jpg', 2), ('/home/pi/Desktop/images/03072025/16/55/image_03072025_16_55_01_3254.jpg', 2), ('/home/pi/Desktop/images/03072025/16/54/image_03072025_16_54_01_6258.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/16/59/image_03072025_16_59_01_4742.jpg', '/home/pi/Desktop/images/03072025/16/58/image_03072025_16_58_02_0188.jpg', '/home/pi/Desktop/images/03072025/16/57/image_03072025_16_57_02_2641.jpg', '/home/pi/Desktop/images/03072025/16/56/image_03072025_16_56_01_5146.jpg', '/home/pi/Desktop/images/03072025/16/55/image_03072025_16_55_01_3254.jpg', '/home/pi/Desktop/images/03072025/16/54/image_03072025_16_54_01_6258.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/16/59/image_03072025_16_59_01_4742.jpg
/home/pi/Desktop/images/03072025/16/58/image_03072025_16_58_02_0188.jpg
/home/pi/Desktop/images/03072025/16/57/image_03072025_16_57_02_2641.jpg
/home/pi/Desktop/images/03072025/16/56/image_03072025_16_56_01_5146.jpg
/home/pi/Desktop/images/03072025/16/55/image_03072025_16_55_01_3254.jpg
/home/pi/Desktop/images/03072025/16/54/image_03072025_16_54_01_6258.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.115849018096924 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:01:04.126662
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/00/image_03072025_17_00_01_2630.jpg', 2), ('/home/pi/Desktop/images/03072025/16/59/image_03072025_16_59_01_4742.jpg', 2), ('/home/pi/Desktop/images/03072025/16/58/image_03072025_16_58_02_0188.jpg', 2), ('/home/pi/Desktop/images/03072025/16/57/image_03072025_16_57_02_2641.jpg', 2), ('/home/pi/Desktop/images/03072025/16/56/image_03072025_16_56_01_5146.jpg', 2), ('/home/pi/Desktop/images/03072025/16/55/image_03072025_16_55_01_3254.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/00/image_03072025_17_00_01_2630.jpg', '/home/pi/Desktop/images/03072025/16/59/image_03072025_16_59_01_4742.jpg', '/home/pi/Desktop/images/03072025/16/58/image_03072025_16_58_02_0188.jpg', '/home/pi/Desktop/images/03072025/16/57/image_03072025_16_57_02_2641.jpg', '/home/pi/Desktop/images/03072025/16/56/image_03072025_16_56_01_5146.jpg', '/home/pi/Desktop/images/03072025/16/55/image_03072025_16_55_01_3254.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/00/image_03072025_17_00_01_2630.jpg
/home/pi/Desktop/images/03072025/16/59/image_03072025_16_59_01_4742.jpg
/home/pi/Desktop/images/03072025/16/58/image_03072025_16_58_02_0188.jpg
/home/pi/Desktop/images/03072025/16/57/image_03072025_16_57_02_2641.jpg
/home/pi/Desktop/images/03072025/16/56/image_03072025_16_56_01_5146.jpg
/home/pi/Desktop/images/03072025/16/55/image_03072025_16_55_01_3254.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.457005262374878 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:02:03.390413
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg', 2), ('/home/pi/Desktop/images/03072025/17/00/image_03072025_17_00_01_2630.jpg', 2), ('/home/pi/Desktop/images/03072025/16/59/image_03072025_16_59_01_4742.jpg', 2), ('/home/pi/Desktop/images/03072025/16/58/image_03072025_16_58_02_0188.jpg', 2), ('/home/pi/Desktop/images/03072025/16/57/image_03072025_16_57_02_2641.jpg', 2), ('/home/pi/Desktop/images/03072025/16/56/image_03072025_16_56_01_5146.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg', '/home/pi/Desktop/images/03072025/17/00/image_03072025_17_00_01_2630.jpg', '/home/pi/Desktop/images/03072025/16/59/image_03072025_16_59_01_4742.jpg', '/home/pi/Desktop/images/03072025/16/58/image_03072025_16_58_02_0188.jpg', '/home/pi/Desktop/images/03072025/16/57/image_03072025_16_57_02_2641.jpg', '/home/pi/Desktop/images/03072025/16/56/image_03072025_16_56_01_5146.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg
/home/pi/Desktop/images/03072025/17/00/image_03072025_17_00_01_2630.jpg
/home/pi/Desktop/images/03072025/16/59/image_03072025_16_59_01_4742.jpg
/home/pi/Desktop/images/03072025/16/58/image_03072025_16_58_02_0188.jpg
/home/pi/Desktop/images/03072025/16/57/image_03072025_16_57_02_2641.jpg
/home/pi/Desktop/images/03072025/16/56/image_03072025_16_56_01_5146.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4031128883361816 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:03:05.478082
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg', 2), ('/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg', 2), ('/home/pi/Desktop/images/03072025/17/00/image_03072025_17_00_01_2630.jpg', 2), ('/home/pi/Desktop/images/03072025/16/59/image_03072025_16_59_01_4742.jpg', 2), ('/home/pi/Desktop/images/03072025/16/58/image_03072025_16_58_02_0188.jpg', 2), ('/home/pi/Desktop/images/03072025/16/57/image_03072025_16_57_02_2641.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg', '/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg', '/home/pi/Desktop/images/03072025/17/00/image_03072025_17_00_01_2630.jpg', '/home/pi/Desktop/images/03072025/16/59/image_03072025_16_59_01_4742.jpg', '/home/pi/Desktop/images/03072025/16/58/image_03072025_16_58_02_0188.jpg', '/home/pi/Desktop/images/03072025/16/57/image_03072025_16_57_02_2641.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg
/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg
/home/pi/Desktop/images/03072025/17/00/image_03072025_17_00_01_2630.jpg
/home/pi/Desktop/images/03072025/16/59/image_03072025_16_59_01_4742.jpg
/home/pi/Desktop/images/03072025/16/58/image_03072025_16_58_02_0188.jpg
/home/pi/Desktop/images/03072025/16/57/image_03072025_16_57_02_2641.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.978951692581177 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:04:03.689656
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg', 2), ('/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg', 2), ('/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg', 2), ('/home/pi/Desktop/images/03072025/17/00/image_03072025_17_00_01_2630.jpg', 2), ('/home/pi/Desktop/images/03072025/16/59/image_03072025_16_59_01_4742.jpg', 2), ('/home/pi/Desktop/images/03072025/16/58/image_03072025_16_58_02_0188.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg', '/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg', '/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg', '/home/pi/Desktop/images/03072025/17/00/image_03072025_17_00_01_2630.jpg', '/home/pi/Desktop/images/03072025/16/59/image_03072025_16_59_01_4742.jpg', '/home/pi/Desktop/images/03072025/16/58/image_03072025_16_58_02_0188.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg
/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg
/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg
/home/pi/Desktop/images/03072025/17/00/image_03072025_17_00_01_2630.jpg
/home/pi/Desktop/images/03072025/16/59/image_03072025_16_59_01_4742.jpg
/home/pi/Desktop/images/03072025/16/58/image_03072025_16_58_02_0188.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7419862747192383 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:05:04.062123
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg', 2), ('/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg', 2), ('/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg', 2), ('/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg', 2), ('/home/pi/Desktop/images/03072025/17/00/image_03072025_17_00_01_2630.jpg', 2), ('/home/pi/Desktop/images/03072025/16/59/image_03072025_16_59_01_4742.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg', '/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg', '/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg', '/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg', '/home/pi/Desktop/images/03072025/17/00/image_03072025_17_00_01_2630.jpg', '/home/pi/Desktop/images/03072025/16/59/image_03072025_16_59_01_4742.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg
/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg
/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg
/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg
/home/pi/Desktop/images/03072025/17/00/image_03072025_17_00_01_2630.jpg
/home/pi/Desktop/images/03072025/16/59/image_03072025_16_59_01_4742.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7734925746917725 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:06:03.715329
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg', 2), ('/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg', 2), ('/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg', 2), ('/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg', 2), ('/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg', 2), ('/home/pi/Desktop/images/03072025/17/00/image_03072025_17_00_01_2630.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg', '/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg', '/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg', '/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg', '/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg', '/home/pi/Desktop/images/03072025/17/00/image_03072025_17_00_01_2630.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg
/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg
/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg
/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg
/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg
/home/pi/Desktop/images/03072025/17/00/image_03072025_17_00_01_2630.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7882134914398193 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:07:03.599154
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg', 2), ('/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg', 2), ('/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg', 2), ('/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg', 2), ('/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg', 2), ('/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg', '/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg', '/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg', '/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg', '/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg', '/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg
/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg
/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg
/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg
/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg
/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.829775810241699 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:08:03.651422
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg', 2), ('/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg', 2), ('/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg', 2), ('/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg', 2), ('/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg', 2), ('/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg', '/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg', '/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg', '/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg', '/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg', '/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg
/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg
/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg
/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg
/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg
/home/pi/Desktop/images/03072025/17/01/image_03072025_17_01_01_3337.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.722121477127075 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:09:04.363472
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/10/image_03072025_17_10_02_1518.jpg', 2), ('/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg', 2), ('/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg', 2), ('/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg', 2), ('/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg', 2), ('/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg', '/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg', '/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg', '/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg', '/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg
/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg
/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg
/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg
/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3435497283935547 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/03072025/17/10/image_03072025_17_10_02_1518.jpg'],)
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:10:03.379903
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg', 2), ('/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg', 2), ('/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg', 2), ('/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg', 2), ('/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg', 2), ('/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg', '/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg', '/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg', '/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg', '/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg', '/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg
/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg
/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg
/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg
/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg
/home/pi/Desktop/images/03072025/17/02/image_03072025_17_02_02_1846.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4107911586761475 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:11:03.814598
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg', 2), ('/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg', 2), ('/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg', 2), ('/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg', 2), ('/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg', 2), ('/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg', '/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg', '/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg', '/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg', '/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg', '/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg
/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg
/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg
/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg
/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg
/home/pi/Desktop/images/03072025/17/03/image_03072025_17_03_01_8960.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6730167865753174 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:12:03.445935
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg', 2), ('/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg', 2), ('/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg', 2), ('/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg', 2), ('/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg', 2), ('/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg', '/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg', '/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg', '/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg', '/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg', '/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg
/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg
/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg
/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg
/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg
/home/pi/Desktop/images/03072025/17/04/image_03072025_17_04_02_0281.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.516345739364624 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:13:04.033233
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg', 2), ('/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg', 2), ('/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg', 2), ('/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg', 2), ('/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg', 2), ('/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg', '/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg', '/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg', '/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg', '/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg', '/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg
/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg
/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg
/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg
/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg
/home/pi/Desktop/images/03072025/17/05/image_03072025_17_05_02_1690.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.358821153640747 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:14:03.176842
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg', 2), ('/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg', 2), ('/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg', 2), ('/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg', 2), ('/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg', 2), ('/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg', '/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg', '/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg', '/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg', '/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg', '/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg
/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg
/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg
/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg
/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg
/home/pi/Desktop/images/03072025/17/06/image_03072025_17_06_02_1356.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.987546682357788 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:15:04.247369
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg', 2), ('/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg', 2), ('/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg', 2), ('/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg', 2), ('/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg', 2), ('/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg', '/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg', '/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg', '/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg', '/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg', '/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg
/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg
/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg
/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg
/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg
/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.5722737312316895 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:16:03.187573
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg', 2), ('/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg', 2), ('/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg', 2), ('/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg', 2), ('/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg', 2), ('/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg', '/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg', '/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg', '/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg', '/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg', '/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg
/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg
/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg
/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg
/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg
/home/pi/Desktop/images/03072025/17/07/image_03072025_17_07_01_9462.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0289878845214844 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:17:03.650803
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg', 2), ('/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg', 2), ('/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg', 2), ('/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg', 2), ('/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg', 2), ('/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg', '/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg', '/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg', '/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg', '/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg', '/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg
/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg
/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg
/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg
/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg
/home/pi/Desktop/images/03072025/17/09/image_03072025_17_09_02_2569.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.991089344024658 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:18:03.578412
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg', 2), ('/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg', 2), ('/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg', 2), ('/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg', 2), ('/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg', 2), ('/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg', '/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg', '/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg', '/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg', '/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg', '/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg
/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg
/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg
/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg
/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg
/home/pi/Desktop/images/03072025/17/11/image_03072025_17_11_01_8212.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1736552715301514 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:19:03.924674
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg', 2), ('/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg', 2), ('/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg', 2), ('/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg', 2), ('/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg', 2), ('/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg', '/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg', '/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg', '/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg', '/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg', '/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg
/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg
/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg
/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg
/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg
/home/pi/Desktop/images/03072025/17/12/image_03072025_17_12_01_9055.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6226212978363037 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:20:05.170154
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg', 2), ('/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg', 2), ('/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg', 2), ('/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg', 2), ('/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg', 2), ('/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg', '/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg', '/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg', '/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg', '/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg', '/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg
/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg
/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg
/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg
/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg
/home/pi/Desktop/images/03072025/17/13/image_03072025_17_13_01_9202.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.672903299331665 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:21:03.606641
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg', 2), ('/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg', 2), ('/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg', 2), ('/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg', 2), ('/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg', 2), ('/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg', '/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg', '/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg', '/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg', '/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg', '/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg
/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg
/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg
/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg
/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg
/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.7855489253997803 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:22:03.108694
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg', 2), ('/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg', 2), ('/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg', 2), ('/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg', 2), ('/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg', 2), ('/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg', '/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg', '/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg', '/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg', '/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg', '/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg
/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg
/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg
/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg
/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg
/home/pi/Desktop/images/03072025/17/14/image_03072025_17_14_02_1319.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4256091117858887 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:23:03.720033
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg', 2), ('/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg', 2), ('/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg', 2), ('/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg', 2), ('/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg', 2), ('/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg', '/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg', '/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg', '/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg', '/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg', '/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg
/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg
/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg
/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg
/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg
/home/pi/Desktop/images/03072025/17/15/image_03072025_17_15_01_7325.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.493814706802368 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:24:05.997573
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', 2), ('/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg', 2), ('/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg', 2), ('/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg', 2), ('/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg', 2), ('/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', '/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg', '/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg', '/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg', '/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg', '/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg
/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg
/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg
/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg
/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg
/home/pi/Desktop/images/03072025/17/17/image_03072025_17_17_01_6335.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.535458564758301 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:25:07.289684
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', 2), ('/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', 2), ('/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg', 2), ('/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg', 2), ('/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg', 2), ('/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', '/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', '/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg', '/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg', '/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg', '/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg
/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg
/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg
/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg
/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg
/home/pi/Desktop/images/03072025/17/18/image_03072025_17_18_01_4304.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.286005973815918 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:26:05.029266
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', 2), ('/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', 2), ('/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', 2), ('/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg', 2), ('/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg', 2), ('/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', '/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', '/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', '/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg', '/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg', '/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg
/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg
/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg
/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg
/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg
/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.4775748252868652 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:27:03.614598
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', 2), ('/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', 2), ('/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', 2), ('/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg', 2), ('/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg', 2), ('/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', '/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', '/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', '/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg', '/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg', '/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg
/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg
/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg
/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg
/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg
/home/pi/Desktop/images/03072025/17/19/image_03072025_17_19_02_0477.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.443915367126465 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:28:03.684371
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', 2), ('/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', 2), ('/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', 2), ('/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', 2), ('/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg', 2), ('/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', '/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', '/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', '/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', '/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg', '/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg
/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg
/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg
/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg
/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg
/home/pi/Desktop/images/03072025/17/20/image_03072025_17_20_02_1537.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3933699131011963 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:29:04.669303
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', 2), ('/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', 2), ('/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', 2), ('/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', 2), ('/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', 2), ('/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', '/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', '/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', '/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', '/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', '/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg
/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg
/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg
/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg
/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg
/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.484165906906128 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:30:02.997910
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', 2), ('/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', 2), ('/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', 2), ('/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', 2), ('/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', 2), ('/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', '/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', '/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', '/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', '/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', '/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg
/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg
/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg
/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg
/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg
/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.356363296508789 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:31:03.883878
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', 2), ('/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', 2), ('/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', 2), ('/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', 2), ('/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', 2), ('/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', '/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', '/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', '/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', '/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', '/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg
/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg
/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg
/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg
/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg
/home/pi/Desktop/images/03072025/17/21/image_03072025_17_21_01_9658.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.546523094177246 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:32:02.886638
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', 2), ('/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', 2), ('/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', 2), ('/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', 2), ('/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', 2), ('/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', '/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', '/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', '/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', '/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', '/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg
/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg
/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg
/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg
/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg
/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6500895023345947 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:33:03.517507
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', 2), ('/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', 2), ('/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', 2), ('/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', 2), ('/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', 2), ('/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', '/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', '/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', '/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', '/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', '/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg
/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg
/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg
/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg
/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg
/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4572949409484863 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:34:03.489421
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', 2), ('/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', 2), ('/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', 2), ('/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', 2), ('/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', 2), ('/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', '/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', '/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', '/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', '/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', '/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg
/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg
/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg
/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg
/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg
/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9810001850128174 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:35:03.598512
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', 2), ('/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', 2), ('/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', 2), ('/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', 2), ('/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', 2), ('/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', '/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', '/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', '/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', '/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', '/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg
/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg
/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg
/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg
/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg
/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5560858249664307 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:36:03.500493
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', 2), ('/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', 2), ('/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', 2), ('/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', 2), ('/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', 2), ('/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', '/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', '/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', '/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', '/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', '/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg
/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg
/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg
/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg
/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg
/home/pi/Desktop/images/03072025/17/23/image_03072025_17_23_01_6304.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.448281764984131 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:37:03.936749
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', 2), ('/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', 2), ('/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', 2), ('/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', 2), ('/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', 2), ('/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', '/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', '/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', '/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', '/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', '/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg
/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg
/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg
/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg
/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg
/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5127882957458496 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:38:03.248748
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', 2), ('/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', 2), ('/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', 2), ('/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', 2), ('/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', 2), ('/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', '/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', '/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', '/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', '/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', '/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg
/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg
/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg
/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg
/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg
/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.835988759994507 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:39:04.295429
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', 2), ('/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', 2), ('/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', 2), ('/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', 2), ('/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', 2), ('/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', '/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', '/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', '/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', '/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', '/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg
/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg
/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg
/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg
/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg
/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.572317600250244 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:40:03.311379
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', 2), ('/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', 2), ('/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', 2), ('/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', 2), ('/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', 2), ('/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', '/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', '/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', '/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', '/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', '/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg
/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg
/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg
/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg
/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg
/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6059651374816895 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:41:04.165247
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', 2), ('/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', 2), ('/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', 2), ('/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', 2), ('/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', 2), ('/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', '/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', '/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', '/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', '/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', '/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg
/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg
/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg
/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg
/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg
/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9694085121154785 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:42:03.716671
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', 2), ('/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', 2), ('/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', 2), ('/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', 2), ('/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', 2), ('/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', '/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', '/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', '/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', '/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', '/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg
/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg
/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg
/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg
/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg
/home/pi/Desktop/images/03072025/17/24/image_03072025_17_24_01_7503.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.478633165359497 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:43:03.332841
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/37/image_03072025_17_37_01_9706.jpg', 2), ('/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', 2), ('/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', 2), ('/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', 2), ('/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', 2), ('/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/37/image_03072025_17_37_01_9706.jpg', '/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', '/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', '/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', '/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', '/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/37/image_03072025_17_37_01_9706.jpg
/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg
/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg
/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg
/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg
/home/pi/Desktop/images/03072025/17/25/image_03072025_17_25_02_1021.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9804587364196777 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:44:03.200131
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg', 2), ('/home/pi/Desktop/images/03072025/17/37/image_03072025_17_37_01_9706.jpg', 2), ('/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', 2), ('/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', 2), ('/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', 2), ('/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg', '/home/pi/Desktop/images/03072025/17/37/image_03072025_17_37_01_9706.jpg', '/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', '/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', '/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', '/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg
/home/pi/Desktop/images/03072025/17/37/image_03072025_17_37_01_9706.jpg
/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg
/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg
/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg
/home/pi/Desktop/images/03072025/17/26/image_03072025_17_26_02_0363.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1402177810668945 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:45:04.199491
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg', 2), ('/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg', 2), ('/home/pi/Desktop/images/03072025/17/37/image_03072025_17_37_01_9706.jpg', 2), ('/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', 2), ('/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', 2), ('/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg', '/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg', '/home/pi/Desktop/images/03072025/17/37/image_03072025_17_37_01_9706.jpg', '/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', '/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', '/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg
/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg
/home/pi/Desktop/images/03072025/17/37/image_03072025_17_37_01_9706.jpg
/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg
/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg
/home/pi/Desktop/images/03072025/17/28/image_03072025_17_28_01_6768.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.759676694869995 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:46:02.746061
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg', 2), ('/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg', 2), ('/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg', 2), ('/home/pi/Desktop/images/03072025/17/37/image_03072025_17_37_01_9706.jpg', 2), ('/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', 2), ('/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg', '/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg', '/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg', '/home/pi/Desktop/images/03072025/17/37/image_03072025_17_37_01_9706.jpg', '/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', '/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg
/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg
/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg
/home/pi/Desktop/images/03072025/17/37/image_03072025_17_37_01_9706.jpg
/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg
/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0127172470092773 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:47:03.551190
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg', 2), ('/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg', 2), ('/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg', 2), ('/home/pi/Desktop/images/03072025/17/37/image_03072025_17_37_01_9706.jpg', 2), ('/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', 2), ('/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg', '/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg', '/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg', '/home/pi/Desktop/images/03072025/17/37/image_03072025_17_37_01_9706.jpg', '/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg', '/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg
/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg
/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg
/home/pi/Desktop/images/03072025/17/37/image_03072025_17_37_01_9706.jpg
/home/pi/Desktop/images/03072025/17/32/image_03072025_17_32_01_7914.jpg
/home/pi/Desktop/images/03072025/17/29/image_03072025_17_29_02_1856.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.304210901260376 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:48:04.072077
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg', 2), ('/home/pi/Desktop/images/03072025/17/46/image_03072025_17_46_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg', 2), ('/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg', 2), ('/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg', 2), ('/home/pi/Desktop/images/03072025/17/37/image_03072025_17_37_01_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg', '/home/pi/Desktop/images/03072025/17/46/image_03072025_17_46_02_1515.jpg', '/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg', '/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg', '/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg', '/home/pi/Desktop/images/03072025/17/37/image_03072025_17_37_01_9706.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg
/home/pi/Desktop/images/03072025/17/46/image_03072025_17_46_02_1515.jpg
/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg
/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg
/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg
/home/pi/Desktop/images/03072025/17/37/image_03072025_17_37_01_9706.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.384213924407959 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:49:03.309379
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg', 2), ('/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg', 2), ('/home/pi/Desktop/images/03072025/17/46/image_03072025_17_46_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg', 2), ('/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg', 2), ('/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg', '/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg', '/home/pi/Desktop/images/03072025/17/46/image_03072025_17_46_02_1515.jpg', '/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg', '/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg', '/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg
/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg
/home/pi/Desktop/images/03072025/17/46/image_03072025_17_46_02_1515.jpg
/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg
/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg
/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3264942169189453 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:50:03.435630
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg', 2), ('/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg', 2), ('/home/pi/Desktop/images/03072025/17/46/image_03072025_17_46_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg', 2), ('/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg', 2), ('/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg', '/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg', '/home/pi/Desktop/images/03072025/17/46/image_03072025_17_46_02_1515.jpg', '/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg', '/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg', '/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg
/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg
/home/pi/Desktop/images/03072025/17/46/image_03072025_17_46_02_1515.jpg
/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg
/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg
/home/pi/Desktop/images/03072025/17/43/image_03072025_17_43_02_1989.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.799884796142578 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:51:03.920426
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg', 2), ('/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg', 2), ('/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg', 2), ('/home/pi/Desktop/images/03072025/17/46/image_03072025_17_46_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg', 2), ('/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg', '/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg', '/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg', '/home/pi/Desktop/images/03072025/17/46/image_03072025_17_46_02_1515.jpg', '/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg', '/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg
/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg
/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg
/home/pi/Desktop/images/03072025/17/46/image_03072025_17_46_02_1515.jpg
/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg
/home/pi/Desktop/images/03072025/17/44/image_03072025_17_44_01_2324.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.132283926010132 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:52:03.238008
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg', 2), ('/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg', 2), ('/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg', 2), ('/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg', 2), ('/home/pi/Desktop/images/03072025/17/46/image_03072025_17_46_02_1515.jpg', 2), ('/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg', '/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg', '/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg', '/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg', '/home/pi/Desktop/images/03072025/17/46/image_03072025_17_46_02_1515.jpg', '/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg
/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg
/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg
/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg
/home/pi/Desktop/images/03072025/17/46/image_03072025_17_46_02_1515.jpg
/home/pi/Desktop/images/03072025/17/45/image_03072025_17_45_01_7769.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0356385707855225 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:53:03.899263
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', 2), ('/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg', 2), ('/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg', 2), ('/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg', 2), ('/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg', 2), ('/home/pi/Desktop/images/03072025/17/46/image_03072025_17_46_02_1515.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', '/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg', '/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg', '/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg', '/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg', '/home/pi/Desktop/images/03072025/17/46/image_03072025_17_46_02_1515.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg
/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg
/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg
/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg
/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg
/home/pi/Desktop/images/03072025/17/46/image_03072025_17_46_02_1515.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7177224159240723 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:54:04.058496
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', 2), ('/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', 2), ('/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg', 2), ('/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg', 2), ('/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg', 2), ('/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', '/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', '/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg', '/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg', '/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg', '/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg
/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg
/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg
/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg
/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg
/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9985251426696777 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:55:04.144650
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', 2), ('/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', 2), ('/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg', 2), ('/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg', 2), ('/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg', 2), ('/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', '/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', '/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg', '/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg', '/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg', '/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg
/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg
/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg
/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg
/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg
/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5302202701568604 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:56:03.133601
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', 2), ('/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', 2), ('/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg', 2), ('/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg', 2), ('/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg', 2), ('/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', '/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', '/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg', '/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg', '/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg', '/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg
/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg
/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg
/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg
/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg
/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.07470440864563 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:57:03.922171
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', 2), ('/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', 2), ('/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg', 2), ('/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg', 2), ('/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg', 2), ('/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', '/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', '/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg', '/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg', '/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg', '/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg
/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg
/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg
/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg
/home/pi/Desktop/images/03072025/17/48/image_03072025_17_48_01_6099.jpg
/home/pi/Desktop/images/03072025/17/47/image_03072025_17_47_01_2740.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8224596977233887 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 17:59:03.835263
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/00/image_03072025_18_00_01_8582.jpg', 2), ('/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', 2), ('/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg', 2), ('/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', 2), ('/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', 2), ('/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', '/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg', '/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', '/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', '/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg
/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg
/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg
/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg
/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9973888397216797 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/03072025/18/00/image_03072025_18_00_01_8582.jpg'],)
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:00:03.107943
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', 2), ('/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg', 2), ('/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', 2), ('/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', 2), ('/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg', 2), ('/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', '/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg', '/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', '/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', '/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg', '/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg
/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg
/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg
/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg
/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg
/home/pi/Desktop/images/03072025/17/49/image_03072025_17_49_01_9446.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.165647029876709 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:01:03.625055
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg', 2), ('/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', 2), ('/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg', 2), ('/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', 2), ('/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', 2), ('/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg', '/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', '/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg', '/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', '/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', '/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg
/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg
/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg
/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg
/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg
/home/pi/Desktop/images/03072025/17/51/image_03072025_17_51_01_9342.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.926663398742676 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:02:04.631318
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg', 2), ('/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg', 2), ('/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', 2), ('/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg', 2), ('/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', 2), ('/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg', '/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg', '/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', '/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg', '/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', '/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg
/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg
/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg
/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg
/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg
/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6942384243011475 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:03:03.293851
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg', 2), ('/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg', 2), ('/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', 2), ('/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg', 2), ('/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', 2), ('/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg', '/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg', '/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', '/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg', '/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', '/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg
/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg
/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg
/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg
/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg
/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.992553472518921 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:04:03.673682
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg', 2), ('/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg', 2), ('/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', 2), ('/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg', 2), ('/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', 2), ('/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg', '/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg', '/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', '/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg', '/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', '/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg
/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg
/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg
/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg
/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg
/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2310094833374023 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:05:03.689263
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg', 2), ('/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg', 2), ('/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', 2), ('/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg', 2), ('/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', 2), ('/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg', '/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg', '/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', '/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg', '/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', '/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg
/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg
/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg
/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg
/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg
/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0274953842163086 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:06:03.698184
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg', 2), ('/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg', 2), ('/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', 2), ('/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg', 2), ('/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', 2), ('/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg', '/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg', '/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', '/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg', '/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', '/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg
/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg
/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg
/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg
/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg
/home/pi/Desktop/images/03072025/17/52/image_03072025_17_52_02_1441.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4805667400360107 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:07:03.383551
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/02/image_03072025_18_02_01_5914.jpg', 2), ('/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg', 2), ('/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg', 2), ('/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', 2), ('/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg', 2), ('/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/02/image_03072025_18_02_01_5914.jpg', '/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg', '/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg', '/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', '/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg', '/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/02/image_03072025_18_02_01_5914.jpg
/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg
/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg
/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg
/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg
/home/pi/Desktop/images/03072025/17/53/image_03072025_17_53_01_7763.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3041675090789795 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:08:03.012131
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/07/image_03072025_18_07_02_1903.jpg', 2), ('/home/pi/Desktop/images/03072025/18/02/image_03072025_18_02_01_5914.jpg', 2), ('/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg', 2), ('/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg', 2), ('/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', 2), ('/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/07/image_03072025_18_07_02_1903.jpg', '/home/pi/Desktop/images/03072025/18/02/image_03072025_18_02_01_5914.jpg', '/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg', '/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg', '/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', '/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/07/image_03072025_18_07_02_1903.jpg
/home/pi/Desktop/images/03072025/18/02/image_03072025_18_02_01_5914.jpg
/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg
/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg
/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg
/home/pi/Desktop/images/03072025/17/54/image_03072025_17_54_01_9249.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3659112453460693 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:09:03.823165
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg', 2), ('/home/pi/Desktop/images/03072025/18/07/image_03072025_18_07_02_1903.jpg', 2), ('/home/pi/Desktop/images/03072025/18/02/image_03072025_18_02_01_5914.jpg', 2), ('/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg', 2), ('/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg', 2), ('/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg', '/home/pi/Desktop/images/03072025/18/07/image_03072025_18_07_02_1903.jpg', '/home/pi/Desktop/images/03072025/18/02/image_03072025_18_02_01_5914.jpg', '/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg', '/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg', '/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg
/home/pi/Desktop/images/03072025/18/07/image_03072025_18_07_02_1903.jpg
/home/pi/Desktop/images/03072025/18/02/image_03072025_18_02_01_5914.jpg
/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg
/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg
/home/pi/Desktop/images/03072025/17/58/image_03072025_17_58_01_9380.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3653576374053955 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:10:02.840489
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg', 2), ('/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg', 2), ('/home/pi/Desktop/images/03072025/18/07/image_03072025_18_07_02_1903.jpg', 2), ('/home/pi/Desktop/images/03072025/18/02/image_03072025_18_02_01_5914.jpg', 2), ('/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg', 2), ('/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg', '/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg', '/home/pi/Desktop/images/03072025/18/07/image_03072025_18_07_02_1903.jpg', '/home/pi/Desktop/images/03072025/18/02/image_03072025_18_02_01_5914.jpg', '/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg', '/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg
/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg
/home/pi/Desktop/images/03072025/18/07/image_03072025_18_07_02_1903.jpg
/home/pi/Desktop/images/03072025/18/02/image_03072025_18_02_01_5914.jpg
/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg
/home/pi/Desktop/images/03072025/17/59/image_03072025_17_59_01_5252.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.242985486984253 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:11:03.222555
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg', 2), ('/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg', 2), ('/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg', 2), ('/home/pi/Desktop/images/03072025/18/07/image_03072025_18_07_02_1903.jpg', 2), ('/home/pi/Desktop/images/03072025/18/02/image_03072025_18_02_01_5914.jpg', 2), ('/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg', '/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg', '/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg', '/home/pi/Desktop/images/03072025/18/07/image_03072025_18_07_02_1903.jpg', '/home/pi/Desktop/images/03072025/18/02/image_03072025_18_02_01_5914.jpg', '/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg
/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg
/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg
/home/pi/Desktop/images/03072025/18/07/image_03072025_18_07_02_1903.jpg
/home/pi/Desktop/images/03072025/18/02/image_03072025_18_02_01_5914.jpg
/home/pi/Desktop/images/03072025/18/01/image_03072025_18_01_01_6457.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1703262329101562 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:12:03.222442
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', 2), ('/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg', 2), ('/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg', 2), ('/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg', 2), ('/home/pi/Desktop/images/03072025/18/07/image_03072025_18_07_02_1903.jpg', 2), ('/home/pi/Desktop/images/03072025/18/02/image_03072025_18_02_01_5914.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', '/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg', '/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg', '/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg', '/home/pi/Desktop/images/03072025/18/07/image_03072025_18_07_02_1903.jpg', '/home/pi/Desktop/images/03072025/18/02/image_03072025_18_02_01_5914.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg
/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg
/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg
/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg
/home/pi/Desktop/images/03072025/18/07/image_03072025_18_07_02_1903.jpg
/home/pi/Desktop/images/03072025/18/02/image_03072025_18_02_01_5914.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.8564727306365967 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:13:04.756668
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', 2), ('/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', 2), ('/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg', 2), ('/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg', 2), ('/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg', 2), ('/home/pi/Desktop/images/03072025/18/07/image_03072025_18_07_02_1903.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', '/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', '/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg', '/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg', '/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg', '/home/pi/Desktop/images/03072025/18/07/image_03072025_18_07_02_1903.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg
/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg
/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg
/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg
/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg
/home/pi/Desktop/images/03072025/18/07/image_03072025_18_07_02_1903.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2327628135681152 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:14:03.144117
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', 2), ('/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', 2), ('/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', 2), ('/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg', 2), ('/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg', 2), ('/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', '/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', '/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', '/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg', '/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg', '/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg
/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg
/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg
/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg
/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg
/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 6.278519868850708 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:15:04.152357
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', 2), ('/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', 2), ('/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', 2), ('/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg', 2), ('/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg', 2), ('/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', '/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', '/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', '/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg', '/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg', '/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg
/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg
/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg
/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg
/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg
/home/pi/Desktop/images/03072025/18/08/image_03072025_18_08_01_5301.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6909244060516357 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:16:03.262210
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', 2), ('/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', 2), ('/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', 2), ('/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', 2), ('/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg', 2), ('/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', '/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', '/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', '/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', '/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg', '/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg
/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg
/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg
/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg
/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg
/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.003401517868042 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:17:04.125427
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', 2), ('/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', 2), ('/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', 2), ('/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', 2), ('/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg', 2), ('/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', '/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', '/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', '/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', '/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg', '/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg
/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg
/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg
/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg
/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg
/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.76554799079895 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:18:03.478920
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', 2), ('/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', 2), ('/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', 2), ('/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', 2), ('/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg', 2), ('/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', '/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', '/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', '/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', '/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg', '/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg
/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg
/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg
/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg
/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg
/home/pi/Desktop/images/03072025/18/09/image_03072025_18_09_01_4341.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5622916221618652 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:19:03.809440
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg', 2), ('/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', 2), ('/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', 2), ('/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', 2), ('/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', 2), ('/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg', '/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', '/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', '/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', '/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', '/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg
/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg
/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg
/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg
/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg
/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2843940258026123 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:20:03.266189
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg', 2), ('/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', 2), ('/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', 2), ('/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', 2), ('/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', 2), ('/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg', '/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', '/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', '/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', '/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', '/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg
/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg
/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg
/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg
/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg
/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2998952865600586 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:21:03.870142
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg', 2), ('/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', 2), ('/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', 2), ('/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', 2), ('/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', 2), ('/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg', '/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', '/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', '/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', '/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', '/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg
/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg
/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg
/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg
/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg
/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 6.804211616516113 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:22:02.999188
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg', 2), ('/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', 2), ('/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', 2), ('/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', 2), ('/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', 2), ('/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg', '/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', '/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', '/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', '/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', '/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg
/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg
/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg
/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg
/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg
/home/pi/Desktop/images/03072025/18/10/image_03072025_18_10_01_8942.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5939066410064697 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:23:03.362611
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg', 2), ('/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg', 2), ('/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', 2), ('/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', 2), ('/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', 2), ('/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg', '/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg', '/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', '/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', '/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', '/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg
/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg
/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg
/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg
/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg
/home/pi/Desktop/images/03072025/18/11/image_03072025_18_11_01_3645.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.941174268722534 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:24:03.416864
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg', 2), ('/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg', 2), ('/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg', 2), ('/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', 2), ('/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', 2), ('/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg', '/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg', '/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg', '/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', '/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', '/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg
/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg
/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg
/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg
/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg
/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1934876441955566 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:25:06.075943
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg', 2), ('/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg', 2), ('/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg', 2), ('/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', 2), ('/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', 2), ('/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg', '/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg', '/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg', '/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', '/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', '/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg
/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg
/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg
/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg
/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg
/home/pi/Desktop/images/03072025/18/12/image_03072025_18_12_01_3265.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.587696075439453 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:26:04.620995
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg', 2), ('/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg', 2), ('/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg', 2), ('/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg', 2), ('/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', 2), ('/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg', '/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg', '/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg', '/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg', '/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', '/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg
/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg
/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg
/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg
/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg
/home/pi/Desktop/images/03072025/18/13/image_03072025_18_13_01_6868.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7536888122558594 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:27:03.689109
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg', 2), ('/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg', 2), ('/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg', 2), ('/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg', 2), ('/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg', 2), ('/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg', '/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg', '/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg', '/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg', '/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg', '/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg
/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg
/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg
/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg
/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg
/home/pi/Desktop/images/03072025/18/14/image_03072025_18_14_02_0552.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9301533699035645 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:28:03.069791
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg', 2), ('/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg', 2), ('/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg', 2), ('/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg', 2), ('/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg', 2), ('/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg', '/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg', '/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg', '/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg', '/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg', '/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg
/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg
/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg
/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg
/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg
/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 5.562138557434082 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:29:03.435297
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg', 2), ('/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg', 2), ('/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg', 2), ('/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg', 2), ('/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg', 2), ('/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg', '/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg', '/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg', '/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg', '/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg', '/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg
/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg
/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg
/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg
/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg
/home/pi/Desktop/images/03072025/18/16/image_03072025_18_16_02_1547.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.150963306427002 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:30:04.909242
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg', 2), ('/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg', 2), ('/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg', 2), ('/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg', 2), ('/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg', 2), ('/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg', '/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg', '/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg', '/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg', '/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg', '/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg
/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg
/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg
/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg
/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg
/home/pi/Desktop/images/03072025/18/19/image_03072025_18_19_01_9982.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.6668641567230225 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:31:03.273546
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg', 2), ('/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg', 2), ('/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg', 2), ('/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg', 2), ('/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg', 2), ('/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg', '/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg', '/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg', '/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg', '/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg', '/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg
/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg
/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg
/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg
/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg
/home/pi/Desktop/images/03072025/18/23/image_03072025_18_23_01_5577.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9662539958953857 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:32:02.758459
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg', 2), ('/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg', 2), ('/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg', 2), ('/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg', 2), ('/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg', 2), ('/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg', '/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg', '/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg', '/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg', '/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg', '/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg
/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg
/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg
/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg
/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg
/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.883119344711304 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:33:03.551272
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg', 2), ('/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg', 2), ('/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg', 2), ('/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg', 2), ('/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg', 2), ('/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg', '/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg', '/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg', '/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg', '/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg', '/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg
/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg
/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg
/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg
/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg
/home/pi/Desktop/images/03072025/18/24/image_03072025_18_24_01_4826.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.969026803970337 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:34:02.848085
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg', 2), ('/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg', 2), ('/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg', 2), ('/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg', 2), ('/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg', 2), ('/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg', '/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg', '/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg', '/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg', '/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg', '/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg
/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg
/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg
/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg
/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg
/home/pi/Desktop/images/03072025/18/26/image_03072025_18_26_02_2412.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9725594520568848 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:35:03.801161
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg', 2), ('/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg', 2), ('/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg', 2), ('/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg', 2), ('/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg', 2), ('/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg', '/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg', '/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg', '/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg', '/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg', '/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg
/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg
/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg
/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg
/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg
/home/pi/Desktop/images/03072025/18/27/image_03072025_18_27_02_2633.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.653334617614746 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:36:03.040607
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg', 2), ('/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg', 2), ('/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg', 2), ('/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg', 2), ('/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg', 2), ('/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg', '/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg', '/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg', '/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg', '/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg', '/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg
/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg
/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg
/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg
/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg
/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3468713760375977 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:37:03.345499
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg', 2), ('/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg', 2), ('/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg', 2), ('/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg', 2), ('/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg', 2), ('/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg', '/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg', '/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg', '/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg', '/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg', '/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg
/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg
/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg
/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg
/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg
/home/pi/Desktop/images/03072025/18/28/image_03072025_18_28_01_7092.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.42877197265625 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:38:03.359644
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg', 2), ('/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg', 2), ('/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg', 2), ('/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg', 2), ('/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg', 2), ('/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg', '/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg', '/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg', '/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg', '/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg', '/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg
/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg
/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg
/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg
/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg
/home/pi/Desktop/images/03072025/18/30/image_03072025_18_30_01_3456.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6119067668914795 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:39:03.881732
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg', 2), ('/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg', 2), ('/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg', 2), ('/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg', 2), ('/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg', 2), ('/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg', '/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg', '/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg', '/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg', '/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg', '/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg
/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg
/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg
/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg
/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg
/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.801130771636963 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:40:03.487050
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg', 2), ('/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg', 2), ('/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg', 2), ('/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg', 2), ('/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg', 2), ('/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg', '/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg', '/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg', '/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg', '/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg', '/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg
/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg
/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg
/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg
/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg
/home/pi/Desktop/images/03072025/18/31/image_03072025_18_31_02_1586.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6660032272338867 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:41:03.735152
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg', 2), ('/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg', 2), ('/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg', 2), ('/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg', 2), ('/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg', 2), ('/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg', '/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg', '/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg', '/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg', '/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg', '/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg
/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg
/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg
/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg
/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg
/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2341220378875732 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:42:02.947518
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg', 2), ('/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg', 2), ('/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg', 2), ('/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg', 2), ('/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg', 2), ('/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg', '/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg', '/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg', '/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg', '/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg', '/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg
/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg
/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg
/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg
/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg
/home/pi/Desktop/images/03072025/18/32/image_03072025_18_32_01_4362.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.4796714782714844 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:43:03.868989
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/41/image_03072025_18_41_01_4985.jpg', 2), ('/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg', 2), ('/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg', 2), ('/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg', 2), ('/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg', 2), ('/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/41/image_03072025_18_41_01_4985.jpg', '/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg', '/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg', '/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg', '/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg', '/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/41/image_03072025_18_41_01_4985.jpg
/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg
/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg
/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg
/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg
/home/pi/Desktop/images/03072025/18/34/image_03072025_18_34_01_7149.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.070685386657715 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:44:03.164066
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/43/image_03072025_18_43_01_4131.jpg', 2), ('/home/pi/Desktop/images/03072025/18/41/image_03072025_18_41_01_4985.jpg', 2), ('/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg', 2), ('/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg', 2), ('/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg', 2), ('/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/43/image_03072025_18_43_01_4131.jpg', '/home/pi/Desktop/images/03072025/18/41/image_03072025_18_41_01_4985.jpg', '/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg', '/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg', '/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg', '/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/43/image_03072025_18_43_01_4131.jpg
/home/pi/Desktop/images/03072025/18/41/image_03072025_18_41_01_4985.jpg
/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg
/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg
/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg
/home/pi/Desktop/images/03072025/18/35/image_03072025_18_35_01_4153.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9832799434661865 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:45:03.424637
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg', 2), ('/home/pi/Desktop/images/03072025/18/43/image_03072025_18_43_01_4131.jpg', 2), ('/home/pi/Desktop/images/03072025/18/41/image_03072025_18_41_01_4985.jpg', 2), ('/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg', 2), ('/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg', 2), ('/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg', '/home/pi/Desktop/images/03072025/18/43/image_03072025_18_43_01_4131.jpg', '/home/pi/Desktop/images/03072025/18/41/image_03072025_18_41_01_4985.jpg', '/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg', '/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg', '/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg
/home/pi/Desktop/images/03072025/18/43/image_03072025_18_43_01_4131.jpg
/home/pi/Desktop/images/03072025/18/41/image_03072025_18_41_01_4985.jpg
/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg
/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg
/home/pi/Desktop/images/03072025/18/36/image_03072025_18_36_01_6468.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.061107635498047 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:46:02.988236
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg', 2), ('/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg', 2), ('/home/pi/Desktop/images/03072025/18/43/image_03072025_18_43_01_4131.jpg', 2), ('/home/pi/Desktop/images/03072025/18/41/image_03072025_18_41_01_4985.jpg', 2), ('/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg', 2), ('/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg', '/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg', '/home/pi/Desktop/images/03072025/18/43/image_03072025_18_43_01_4131.jpg', '/home/pi/Desktop/images/03072025/18/41/image_03072025_18_41_01_4985.jpg', '/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg', '/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg
/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg
/home/pi/Desktop/images/03072025/18/43/image_03072025_18_43_01_4131.jpg
/home/pi/Desktop/images/03072025/18/41/image_03072025_18_41_01_4985.jpg
/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg
/home/pi/Desktop/images/03072025/18/38/image_03072025_18_38_01_2676.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.316243886947632 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:47:03.310740
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg', 2), ('/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg', 2), ('/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg', 2), ('/home/pi/Desktop/images/03072025/18/43/image_03072025_18_43_01_4131.jpg', 2), ('/home/pi/Desktop/images/03072025/18/41/image_03072025_18_41_01_4985.jpg', 2), ('/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg', '/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg', '/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg', '/home/pi/Desktop/images/03072025/18/43/image_03072025_18_43_01_4131.jpg', '/home/pi/Desktop/images/03072025/18/41/image_03072025_18_41_01_4985.jpg', '/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg
/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg
/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg
/home/pi/Desktop/images/03072025/18/43/image_03072025_18_43_01_4131.jpg
/home/pi/Desktop/images/03072025/18/41/image_03072025_18_41_01_4985.jpg
/home/pi/Desktop/images/03072025/18/39/image_03072025_18_39_01_8607.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.32598876953125 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:48:02.879842
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg', 2), ('/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg', 2), ('/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg', 2), ('/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg', 2), ('/home/pi/Desktop/images/03072025/18/43/image_03072025_18_43_01_4131.jpg', 2), ('/home/pi/Desktop/images/03072025/18/41/image_03072025_18_41_01_4985.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg', '/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg', '/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg', '/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg', '/home/pi/Desktop/images/03072025/18/43/image_03072025_18_43_01_4131.jpg', '/home/pi/Desktop/images/03072025/18/41/image_03072025_18_41_01_4985.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg
/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg
/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg
/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg
/home/pi/Desktop/images/03072025/18/43/image_03072025_18_43_01_4131.jpg
/home/pi/Desktop/images/03072025/18/41/image_03072025_18_41_01_4985.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.608367681503296 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:49:03.775509
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/50/image_03072025_18_50_01_7376.jpg', 2), ('/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg', 2), ('/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg', 2), ('/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg', 2), ('/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg', 2), ('/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg', '/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg', '/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg', '/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg', '/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg
/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg
/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg
/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg
/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.466669797897339 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/03072025/18/50/image_03072025_18_50_01_7376.jpg'],)
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:50:02.925796
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg', 2), ('/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg', 2), ('/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg', 2), ('/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg', 2), ('/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg', 2), ('/home/pi/Desktop/images/03072025/18/43/image_03072025_18_43_01_4131.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg', '/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg', '/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg', '/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg', '/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg', '/home/pi/Desktop/images/03072025/18/43/image_03072025_18_43_01_4131.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg
/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg
/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg
/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg
/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg
/home/pi/Desktop/images/03072025/18/43/image_03072025_18_43_01_4131.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2525055408477783 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:51:03.919836
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg', 2), ('/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg', 2), ('/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg', 2), ('/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg', 2), ('/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg', 2), ('/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg', '/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg', '/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg', '/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg', '/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg', '/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg
/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg
/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg
/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg
/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg
/home/pi/Desktop/images/03072025/18/44/image_03072025_18_44_01_7876.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.6177122592926025 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:52:03.153878
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg', 2), ('/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg', 2), ('/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg', 2), ('/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg', 2), ('/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg', 2), ('/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg', '/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg', '/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg', '/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg', '/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg', '/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg
/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg
/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg
/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg
/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg
/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2778077125549316 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:53:03.299409
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg', 2), ('/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg', 2), ('/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg', 2), ('/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg', 2), ('/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg', 2), ('/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg', '/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg', '/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg', '/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg', '/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg', '/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg
/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg
/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg
/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg
/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg
/home/pi/Desktop/images/03072025/18/45/image_03072025_18_45_01_6277.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.122894287109375 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:54:03.415318
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/52/image_03072025_18_52_01_6055.jpg', 2), ('/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg', 2), ('/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg', 2), ('/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg', 2), ('/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg', 2), ('/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/52/image_03072025_18_52_01_6055.jpg', '/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg', '/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg', '/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg', '/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg', '/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/52/image_03072025_18_52_01_6055.jpg
/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg
/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg
/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg
/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg
/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.530035018920898 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:55:03.411458
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/52/image_03072025_18_52_01_6055.jpg', 2), ('/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg', 2), ('/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg', 2), ('/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg', 2), ('/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg', 2), ('/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/52/image_03072025_18_52_01_6055.jpg', '/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg', '/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg', '/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg', '/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg', '/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/52/image_03072025_18_52_01_6055.jpg
/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg
/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg
/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg
/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg
/home/pi/Desktop/images/03072025/18/46/image_03072025_18_46_01_5743.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9949564933776855 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:56:03.553332
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/54/image_03072025_18_54_01_2737.jpg', 2), ('/home/pi/Desktop/images/03072025/18/52/image_03072025_18_52_01_6055.jpg', 2), ('/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg', 2), ('/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg', 2), ('/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg', 2), ('/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/54/image_03072025_18_54_01_2737.jpg', '/home/pi/Desktop/images/03072025/18/52/image_03072025_18_52_01_6055.jpg', '/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg', '/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg', '/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg', '/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/54/image_03072025_18_54_01_2737.jpg
/home/pi/Desktop/images/03072025/18/52/image_03072025_18_52_01_6055.jpg
/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg
/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg
/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg
/home/pi/Desktop/images/03072025/18/47/image_03072025_18_47_01_4386.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.625603437423706 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:57:04.009940
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg', 2), ('/home/pi/Desktop/images/03072025/18/54/image_03072025_18_54_01_2737.jpg', 2), ('/home/pi/Desktop/images/03072025/18/52/image_03072025_18_52_01_6055.jpg', 2), ('/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg', 2), ('/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg', 2), ('/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg', '/home/pi/Desktop/images/03072025/18/54/image_03072025_18_54_01_2737.jpg', '/home/pi/Desktop/images/03072025/18/52/image_03072025_18_52_01_6055.jpg', '/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg', '/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg', '/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg
/home/pi/Desktop/images/03072025/18/54/image_03072025_18_54_01_2737.jpg
/home/pi/Desktop/images/03072025/18/52/image_03072025_18_52_01_6055.jpg
/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg
/home/pi/Desktop/images/03072025/18/49/image_03072025_18_49_01_4340.jpg
/home/pi/Desktop/images/03072025/18/48/image_03072025_18_48_01_4566.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3003673553466797 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 18:59:04.073787
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', 2), ('/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg', 2), ('/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg', 2), ('/home/pi/Desktop/images/03072025/18/54/image_03072025_18_54_01_2737.jpg', 2), ('/home/pi/Desktop/images/03072025/18/52/image_03072025_18_52_01_6055.jpg', 2), ('/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', '/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg', '/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg', '/home/pi/Desktop/images/03072025/18/54/image_03072025_18_54_01_2737.jpg', '/home/pi/Desktop/images/03072025/18/52/image_03072025_18_52_01_6055.jpg', '/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg
/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg
/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg
/home/pi/Desktop/images/03072025/18/54/image_03072025_18_54_01_2737.jpg
/home/pi/Desktop/images/03072025/18/52/image_03072025_18_52_01_6055.jpg
/home/pi/Desktop/images/03072025/18/51/image_03072025_18_51_01_3982.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9556877613067627 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:00:04.275404
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', 2), ('/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', 2), ('/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg', 2), ('/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg', 2), ('/home/pi/Desktop/images/03072025/18/54/image_03072025_18_54_01_2737.jpg', 2), ('/home/pi/Desktop/images/03072025/18/52/image_03072025_18_52_01_6055.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', '/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', '/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg', '/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg', '/home/pi/Desktop/images/03072025/18/54/image_03072025_18_54_01_2737.jpg', '/home/pi/Desktop/images/03072025/18/52/image_03072025_18_52_01_6055.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg
/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg
/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg
/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg
/home/pi/Desktop/images/03072025/18/54/image_03072025_18_54_01_2737.jpg
/home/pi/Desktop/images/03072025/18/52/image_03072025_18_52_01_6055.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.592350721359253 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:01:03.495971
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', 2), ('/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', 2), ('/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', 2), ('/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg', 2), ('/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg', 2), ('/home/pi/Desktop/images/03072025/18/54/image_03072025_18_54_01_2737.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', '/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', '/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', '/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg', '/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg', '/home/pi/Desktop/images/03072025/18/54/image_03072025_18_54_01_2737.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg
/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg
/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg
/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg
/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg
/home/pi/Desktop/images/03072025/18/54/image_03072025_18_54_01_2737.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.4804680347442627 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:02:03.019778
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', 2), ('/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', 2), ('/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', 2), ('/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', 2), ('/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg', 2), ('/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', '/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', '/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', '/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', '/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg', '/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg
/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg
/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg
/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg
/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg
/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1274161338806152 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:03:05.364405
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', 2), ('/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', 2), ('/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', 2), ('/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', 2), ('/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg', 2), ('/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', '/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', '/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', '/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', '/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg', '/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg
/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg
/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg
/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg
/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg
/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.878572702407837 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:04:03.136755
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', 2), ('/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', 2), ('/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', 2), ('/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', 2), ('/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg', 2), ('/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', '/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', '/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', '/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', '/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg', '/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg
/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg
/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg
/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg
/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg
/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.4654698371887207 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:05:03.486888
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', 2), ('/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', 2), ('/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', 2), ('/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', 2), ('/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg', 2), ('/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', '/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', '/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', '/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', '/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg', '/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg
/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg
/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg
/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg
/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg
/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.125422239303589 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:06:02.923839
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', 2), ('/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', 2), ('/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', 2), ('/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', 2), ('/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg', 2), ('/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', '/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', '/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', '/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', '/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg', '/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg
/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg
/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg
/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg
/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg
/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0976264476776123 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:07:03.342340
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', 2), ('/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', 2), ('/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', 2), ('/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', 2), ('/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg', 2), ('/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', '/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', '/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', '/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', '/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg', '/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg
/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg
/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg
/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg
/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg
/home/pi/Desktop/images/03072025/18/56/image_03072025_18_56_01_5844.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.4189131259918213 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:08:03.390525
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg', 2), ('/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', 2), ('/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', 2), ('/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', 2), ('/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', 2), ('/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg', '/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', '/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', '/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', '/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', '/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg
/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg
/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg
/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg
/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg
/home/pi/Desktop/images/03072025/18/57/image_03072025_18_57_01_8950.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.178537368774414 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:09:03.902444
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg', 2), ('/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg', 2), ('/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', 2), ('/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', 2), ('/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', 2), ('/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg', '/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg', '/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', '/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', '/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', '/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg
/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg
/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg
/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg
/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg
/home/pi/Desktop/images/03072025/18/58/image_03072025_18_58_02_0621.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.868213176727295 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:10:02.862859
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', 2), ('/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg', 2), ('/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg', 2), ('/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', 2), ('/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', 2), ('/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', '/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg', '/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg', '/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', '/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', '/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg
/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg
/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg
/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg
/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg
/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.867821455001831 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:11:03.368039
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', 2), ('/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg', 2), ('/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg', 2), ('/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', 2), ('/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', 2), ('/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', '/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg', '/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg', '/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', '/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', '/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg
/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg
/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg
/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg
/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg
/home/pi/Desktop/images/03072025/18/59/image_03072025_18_59_01_8296.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.173556089401245 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:12:04.866490
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2), ('/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', 2), ('/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg', 2), ('/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg', 2), ('/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', 2), ('/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', '/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', '/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg', '/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg', '/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', '/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg
/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg
/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg
/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg
/home/pi/Desktop/images/03072025/19/00/image_03072025_19_00_02_0254.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3407058715820312 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:13:03.299391
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2), ('/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', 2), ('/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg', 2), ('/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg', 2), ('/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', '/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', '/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg', '/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg', '/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg
/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg
/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg
/home/pi/Desktop/images/03072025/19/01/image_03072025_19_01_01_3393.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.055924654006958 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:14:03.202625
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2), ('/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', 2), ('/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg', 2), ('/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', '/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', '/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg', '/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg
/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg
/home/pi/Desktop/images/03072025/19/02/image_03072025_19_02_01_5064.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1865150928497314 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:15:03.636208
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2), ('/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', 2), ('/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', '/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', '/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg
/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9209632873535156 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:16:04.743649
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2), ('/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', 2), ('/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', '/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', '/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg
/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.497462511062622 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:17:03.532871
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2), ('/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', 2), ('/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', '/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', '/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg
/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2832181453704834 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:18:03.717975
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2), ('/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', 2), ('/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', '/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', '/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg
/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5546936988830566 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:19:04.317331
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2), ('/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', 2), ('/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', '/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', '/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg
/home/pi/Desktop/images/03072025/19/08/image_03072025_19_08_01_3348.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6692981719970703 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:20:02.919657
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', 2), ('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2), ('/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', '/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', '/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4338371753692627 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:21:03.370821
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', 2), ('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2), ('/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', '/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', '/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3412926197052 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:22:03.507529
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', 2), ('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2), ('/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', '/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', '/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.06005859375 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:23:04.228024
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', 2), ('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2), ('/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', '/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', '/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6411612033843994 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:24:03.440800
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', 2), ('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2), ('/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', '/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', '/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.857083797454834 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:25:06.613151
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', 2), ('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2), ('/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', '/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', '/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
/home/pi/Desktop/images/03072025/19/09/image_03072025_19_09_01_9366.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.304618835449219 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:26:03.480026
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', 2), ('/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', 2), ('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', '/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', '/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg
/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.5282270908355713 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:27:04.179649
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', 2), ('/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', 2), ('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', '/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', '/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg
/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.472745418548584 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:28:03.033588
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', 2), ('/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', 2), ('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', '/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', '/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg
/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5405445098876953 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:29:03.276704
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', 2), ('/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', 2), ('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', '/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', '/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg
/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.571716547012329 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:30:04.581547
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', 2), ('/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', 2), ('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', '/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', '/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg
/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0096521377563477 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:31:04.048895
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', 2), ('/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', 2), ('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', '/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', '/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg
/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.640707015991211 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:32:03.244176
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', 2), ('/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', 2), ('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', '/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', '/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg
/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.079650640487671 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:33:05.027059
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', 2), ('/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', 2), ('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2), ('/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', '/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', '/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', '/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg
/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
/home/pi/Desktop/images/03072025/19/10/image_03072025_19_10_01_9740.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.228026866912842 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:34:03.372111
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg', 2), ('/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', 2), ('/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', 2), ('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg', '/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', '/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', '/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg
/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg
/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.755540370941162 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:35:03.622446
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg', 2), ('/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', 2), ('/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', 2), ('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2), ('/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg', '/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', '/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', '/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', '/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg
/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg
/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
/home/pi/Desktop/images/03072025/19/12/image_03072025_19_12_01_4320.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.557744264602661 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:36:05.590956
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg', 2), ('/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg', 2), ('/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', 2), ('/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', 2), ('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2), ('/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg', '/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg', '/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', '/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', '/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', '/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg
/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg
/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg
/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
/home/pi/Desktop/images/03072025/19/13/image_03072025_19_13_01_8172.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.796555280685425 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:37:04.221919
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg', 2), ('/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg', 2), ('/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg', 2), ('/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', 2), ('/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', 2), ('/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg', '/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg', '/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg', '/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', '/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', '/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg
/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg
/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg
/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg
/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg
/home/pi/Desktop/images/03072025/19/14/image_03072025_19_14_01_4516.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7740964889526367 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:38:03.237817
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg', 2), ('/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg', 2), ('/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg', 2), ('/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg', 2), ('/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', 2), ('/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg', '/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg', '/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg', '/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg', '/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', '/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg
/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg
/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg
/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg
/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg
/home/pi/Desktop/images/03072025/19/15/image_03072025_19_15_01_7257.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6974806785583496 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:39:03.671843
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/40/image_03072025_19_40_01_6319.jpg', 2), ('/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg', 2), ('/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg', 2), ('/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg', 2), ('/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg', 2), ('/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg', '/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg', '/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg', '/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg', '/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg
/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg
/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg
/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg
/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.781531572341919 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/03072025/19/40/image_03072025_19_40_01_6319.jpg'],)
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:40:02.830100
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg', 2), ('/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg', 2), ('/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg', 2), ('/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg', 2), ('/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg', 2), ('/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg', '/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg', '/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg', '/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg', '/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg', '/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg
/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg
/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg
/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg
/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg
/home/pi/Desktop/images/03072025/19/20/image_03072025_19_20_02_1802.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6560440063476562 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:41:03.522820
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg', 2), ('/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg', 2), ('/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg', 2), ('/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg', 2), ('/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg', 2), ('/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg', '/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg', '/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg', '/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg', '/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg', '/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg
/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg
/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg
/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg
/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg
/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.790623903274536 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:42:02.997572
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg', 2), ('/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg', 2), ('/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg', 2), ('/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg', 2), ('/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg', 2), ('/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg', '/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg', '/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg', '/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg', '/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg', '/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg
/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg
/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg
/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg
/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg
/home/pi/Desktop/images/03072025/19/26/image_03072025_19_26_01_9572.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1909430027008057 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:43:03.479113
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg', 2), ('/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg', 2), ('/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg', 2), ('/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg', 2), ('/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg', 2), ('/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg', '/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg', '/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg', '/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg', '/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg', '/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg
/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg
/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg
/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg
/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg
/home/pi/Desktop/images/03072025/19/34/image_03072025_19_34_01_6429.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.538527011871338 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:44:02.823949
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg', 2), ('/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg', 2), ('/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg', 2), ('/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg', 2), ('/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg', 2), ('/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg', '/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg', '/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg', '/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg', '/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg', '/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg
/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg
/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg
/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg
/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg
/home/pi/Desktop/images/03072025/19/36/image_03072025_19_36_01_5207.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5373198986053467 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:45:04.188362
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg', 2), ('/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg', 2), ('/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg', 2), ('/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg', 2), ('/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg', 2), ('/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg', '/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg', '/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg', '/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg', '/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg', '/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg
/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg
/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg
/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg
/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg
/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5485899448394775 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:46:03.720798
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg', 2), ('/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg', 2), ('/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg', 2), ('/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg', 2), ('/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg', 2), ('/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg', '/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg', '/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg', '/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg', '/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg', '/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg
/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg
/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg
/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg
/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg
/home/pi/Desktop/images/03072025/19/37/image_03072025_19_37_02_2470.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6777453422546387 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:47:03.829142
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/45/image_03072025_19_45_01_3972.jpg', 2), ('/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg', 2), ('/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg', 2), ('/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg', 2), ('/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg', 2), ('/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/45/image_03072025_19_45_01_3972.jpg', '/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg', '/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg', '/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg', '/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg', '/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/45/image_03072025_19_45_01_3972.jpg
/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg
/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg
/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg
/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg
/home/pi/Desktop/images/03072025/19/38/image_03072025_19_38_02_3050.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5964910984039307 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:48:03.247975
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/47/image_03072025_19_47_02_2306.jpg', 2), ('/home/pi/Desktop/images/03072025/19/45/image_03072025_19_45_01_3972.jpg', 2), ('/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg', 2), ('/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg', 2), ('/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg', 2), ('/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/47/image_03072025_19_47_02_2306.jpg', '/home/pi/Desktop/images/03072025/19/45/image_03072025_19_45_01_3972.jpg', '/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg', '/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg', '/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg', '/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/47/image_03072025_19_47_02_2306.jpg
/home/pi/Desktop/images/03072025/19/45/image_03072025_19_45_01_3972.jpg
/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg
/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg
/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg
/home/pi/Desktop/images/03072025/19/39/image_03072025_19_39_01_7843.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.497694730758667 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:49:03.646522
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/48/image_03072025_19_48_02_0212.jpg', 2), ('/home/pi/Desktop/images/03072025/19/47/image_03072025_19_47_02_2306.jpg', 2), ('/home/pi/Desktop/images/03072025/19/45/image_03072025_19_45_01_3972.jpg', 2), ('/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg', 2), ('/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg', 2), ('/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/48/image_03072025_19_48_02_0212.jpg', '/home/pi/Desktop/images/03072025/19/47/image_03072025_19_47_02_2306.jpg', '/home/pi/Desktop/images/03072025/19/45/image_03072025_19_45_01_3972.jpg', '/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg', '/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg', '/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/48/image_03072025_19_48_02_0212.jpg
/home/pi/Desktop/images/03072025/19/47/image_03072025_19_47_02_2306.jpg
/home/pi/Desktop/images/03072025/19/45/image_03072025_19_45_01_3972.jpg
/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg
/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg
/home/pi/Desktop/images/03072025/19/41/image_03072025_19_41_01_4199.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2174205780029297 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:50:04.594917
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/49/image_03072025_19_49_01_7720.jpg', 2), ('/home/pi/Desktop/images/03072025/19/48/image_03072025_19_48_02_0212.jpg', 2), ('/home/pi/Desktop/images/03072025/19/47/image_03072025_19_47_02_2306.jpg', 2), ('/home/pi/Desktop/images/03072025/19/45/image_03072025_19_45_01_3972.jpg', 2), ('/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg', 2), ('/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/49/image_03072025_19_49_01_7720.jpg', '/home/pi/Desktop/images/03072025/19/48/image_03072025_19_48_02_0212.jpg', '/home/pi/Desktop/images/03072025/19/47/image_03072025_19_47_02_2306.jpg', '/home/pi/Desktop/images/03072025/19/45/image_03072025_19_45_01_3972.jpg', '/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg', '/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/49/image_03072025_19_49_01_7720.jpg
/home/pi/Desktop/images/03072025/19/48/image_03072025_19_48_02_0212.jpg
/home/pi/Desktop/images/03072025/19/47/image_03072025_19_47_02_2306.jpg
/home/pi/Desktop/images/03072025/19/45/image_03072025_19_45_01_3972.jpg
/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg
/home/pi/Desktop/images/03072025/19/43/image_03072025_19_43_01_4193.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2856693267822266 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:51:04.060016
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg', 2), ('/home/pi/Desktop/images/03072025/19/49/image_03072025_19_49_01_7720.jpg', 2), ('/home/pi/Desktop/images/03072025/19/48/image_03072025_19_48_02_0212.jpg', 2), ('/home/pi/Desktop/images/03072025/19/47/image_03072025_19_47_02_2306.jpg', 2), ('/home/pi/Desktop/images/03072025/19/45/image_03072025_19_45_01_3972.jpg', 2), ('/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg', '/home/pi/Desktop/images/03072025/19/49/image_03072025_19_49_01_7720.jpg', '/home/pi/Desktop/images/03072025/19/48/image_03072025_19_48_02_0212.jpg', '/home/pi/Desktop/images/03072025/19/47/image_03072025_19_47_02_2306.jpg', '/home/pi/Desktop/images/03072025/19/45/image_03072025_19_45_01_3972.jpg', '/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg
/home/pi/Desktop/images/03072025/19/49/image_03072025_19_49_01_7720.jpg
/home/pi/Desktop/images/03072025/19/48/image_03072025_19_48_02_0212.jpg
/home/pi/Desktop/images/03072025/19/47/image_03072025_19_47_02_2306.jpg
/home/pi/Desktop/images/03072025/19/45/image_03072025_19_45_01_3972.jpg
/home/pi/Desktop/images/03072025/19/44/image_03072025_19_44_01_4291.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.552729606628418 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:52:03.312873
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg', 2), ('/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg', 2), ('/home/pi/Desktop/images/03072025/19/49/image_03072025_19_49_01_7720.jpg', 2), ('/home/pi/Desktop/images/03072025/19/48/image_03072025_19_48_02_0212.jpg', 2), ('/home/pi/Desktop/images/03072025/19/47/image_03072025_19_47_02_2306.jpg', 2), ('/home/pi/Desktop/images/03072025/19/45/image_03072025_19_45_01_3972.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg', '/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg', '/home/pi/Desktop/images/03072025/19/49/image_03072025_19_49_01_7720.jpg', '/home/pi/Desktop/images/03072025/19/48/image_03072025_19_48_02_0212.jpg', '/home/pi/Desktop/images/03072025/19/47/image_03072025_19_47_02_2306.jpg', '/home/pi/Desktop/images/03072025/19/45/image_03072025_19_45_01_3972.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg
/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg
/home/pi/Desktop/images/03072025/19/49/image_03072025_19_49_01_7720.jpg
/home/pi/Desktop/images/03072025/19/48/image_03072025_19_48_02_0212.jpg
/home/pi/Desktop/images/03072025/19/47/image_03072025_19_47_02_2306.jpg
/home/pi/Desktop/images/03072025/19/45/image_03072025_19_45_01_3972.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.435068368911743 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:53:04.498809
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg', 2), ('/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg', 2), ('/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg', 2), ('/home/pi/Desktop/images/03072025/19/49/image_03072025_19_49_01_7720.jpg', 2), ('/home/pi/Desktop/images/03072025/19/48/image_03072025_19_48_02_0212.jpg', 2), ('/home/pi/Desktop/images/03072025/19/47/image_03072025_19_47_02_2306.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg', '/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg', '/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg', '/home/pi/Desktop/images/03072025/19/49/image_03072025_19_49_01_7720.jpg', '/home/pi/Desktop/images/03072025/19/48/image_03072025_19_48_02_0212.jpg', '/home/pi/Desktop/images/03072025/19/47/image_03072025_19_47_02_2306.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg
/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg
/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg
/home/pi/Desktop/images/03072025/19/49/image_03072025_19_49_01_7720.jpg
/home/pi/Desktop/images/03072025/19/48/image_03072025_19_48_02_0212.jpg
/home/pi/Desktop/images/03072025/19/47/image_03072025_19_47_02_2306.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6318793296813965 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:54:03.719806
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg', 2), ('/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg', 2), ('/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg', 2), ('/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg', 2), ('/home/pi/Desktop/images/03072025/19/49/image_03072025_19_49_01_7720.jpg', 2), ('/home/pi/Desktop/images/03072025/19/48/image_03072025_19_48_02_0212.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg', '/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg', '/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg', '/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg', '/home/pi/Desktop/images/03072025/19/49/image_03072025_19_49_01_7720.jpg', '/home/pi/Desktop/images/03072025/19/48/image_03072025_19_48_02_0212.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg
/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg
/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg
/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg
/home/pi/Desktop/images/03072025/19/49/image_03072025_19_49_01_7720.jpg
/home/pi/Desktop/images/03072025/19/48/image_03072025_19_48_02_0212.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.512923002243042 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:55:03.309128
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg', 2), ('/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg', 2), ('/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg', 2), ('/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg', 2), ('/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg', 2), ('/home/pi/Desktop/images/03072025/19/49/image_03072025_19_49_01_7720.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg', '/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg', '/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg', '/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg', '/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg', '/home/pi/Desktop/images/03072025/19/49/image_03072025_19_49_01_7720.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg
/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg
/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg
/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg
/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg
/home/pi/Desktop/images/03072025/19/49/image_03072025_19_49_01_7720.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4978106021881104 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:56:03.339541
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg', 2), ('/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg', 2), ('/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg', 2), ('/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg', 2), ('/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg', 2), ('/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg', '/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg', '/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg', '/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg', '/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg', '/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg
/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg
/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg
/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg
/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg
/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4277408123016357 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:57:03.913955
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg', 2), ('/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg', 2), ('/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg', 2), ('/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg', 2), ('/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg', 2), ('/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg', '/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg', '/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg', '/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg', '/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg', '/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg
/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg
/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg
/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg
/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg
/home/pi/Desktop/images/03072025/19/50/image_03072025_19_50_01_6936.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.550051689147949 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 19:59:03.441758
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', 2), ('/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg', 2), ('/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg', 2), ('/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg', 2), ('/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg', 2), ('/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', '/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg', '/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg', '/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg', '/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg', '/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg
/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg
/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg
/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg
/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg
/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.555716037750244 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:00:03.247889
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', 2), ('/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg', 2), ('/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg', 2), ('/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg', 2), ('/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg', 2), ('/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', '/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg', '/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg', '/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg', '/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg', '/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg
/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg
/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg
/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg
/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg
/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5475714206695557 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:01:04.160473
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', 2), ('/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg', 2), ('/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg', 2), ('/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg', 2), ('/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg', 2), ('/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', '/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg', '/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg', '/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg', '/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg', '/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg
/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg
/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg
/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg
/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg
/home/pi/Desktop/images/03072025/19/51/image_03072025_19_51_01_6951.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.527104377746582 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:02:03.166620
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', 2), ('/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', 2), ('/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg', 2), ('/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg', 2), ('/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg', 2), ('/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', '/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', '/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg', '/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg', '/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg', '/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg
/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg
/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg
/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg
/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg
/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.999065637588501 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:03:04.109504
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', 2), ('/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', 2), ('/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg', 2), ('/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg', 2), ('/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg', 2), ('/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', '/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', '/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg', '/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg', '/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg', '/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg
/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg
/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg
/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg
/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg
/home/pi/Desktop/images/03072025/19/52/image_03072025_19_52_02_0993.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.514665126800537 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:04:03.151460
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', 2), ('/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', 2), ('/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', 2), ('/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg', 2), ('/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg', 2), ('/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', '/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', '/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', '/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg', '/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg', '/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg
/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg
/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg
/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg
/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg
/home/pi/Desktop/images/03072025/19/53/image_03072025_19_53_01_8047.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.914508581161499 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:05:03.766200
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', 2), ('/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', 2), ('/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', 2), ('/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', 2), ('/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg', 2), ('/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', '/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', '/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', '/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', '/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg', '/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg
/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg
/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg
/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg
/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg
/home/pi/Desktop/images/03072025/19/54/image_03072025_19_54_02_2144.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4987893104553223 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:06:04.125510
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', 2), ('/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', 2), ('/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', 2), ('/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', 2), ('/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', 2), ('/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', '/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', '/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', '/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', '/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', '/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg
/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg
/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg
/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg
/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg
/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4783778190612793 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:07:04.179280
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', 2), ('/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', 2), ('/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', 2), ('/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', 2), ('/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', 2), ('/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', '/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', '/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', '/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', '/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', '/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg
/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg
/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg
/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg
/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg
/home/pi/Desktop/images/03072025/19/55/image_03072025_19_55_02_2150.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.513631582260132 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:08:03.095897
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', 2), ('/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', 2), ('/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', 2), ('/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', 2), ('/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', 2), ('/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', '/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', '/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', '/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', '/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', '/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg
/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg
/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg
/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg
/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg
/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.417398691177368 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:09:03.437197
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', 2), ('/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', 2), ('/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', 2), ('/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', 2), ('/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', 2), ('/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', '/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', '/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', '/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', '/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', '/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg
/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg
/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg
/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg
/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg
/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6436493396759033 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:10:02.975630
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', 2), ('/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', 2), ('/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', 2), ('/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', 2), ('/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', 2), ('/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', '/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', '/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', '/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', '/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', '/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg
/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg
/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg
/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg
/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg
/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4024322032928467 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:11:03.883903
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', 2), ('/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', 2), ('/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', 2), ('/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', 2), ('/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', 2), ('/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', '/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', '/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', '/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', '/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', '/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg
/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg
/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg
/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg
/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg
/home/pi/Desktop/images/03072025/19/56/image_03072025_19_56_01_4506.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.096858024597168 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:12:02.889192
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', 2), ('/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', 2), ('/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', 2), ('/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', 2), ('/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', 2), ('/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', '/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', '/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', '/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', '/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', '/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg
/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg
/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg
/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg
/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg
/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9249889850616455 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:13:03.257289
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', 2), ('/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', 2), ('/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', 2), ('/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', 2), ('/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', 2), ('/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', '/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', '/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', '/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', '/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', '/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg
/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg
/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg
/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg
/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg
/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.035292148590088 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:14:03.835764
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', 2), ('/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', 2), ('/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', 2), ('/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', 2), ('/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', 2), ('/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', '/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', '/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', '/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', '/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', '/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg
/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg
/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg
/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg
/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg
/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9675354957580566 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:15:04.549906
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', 2), ('/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', 2), ('/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', 2), ('/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', 2), ('/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', 2), ('/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', '/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', '/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', '/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', '/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', '/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg
/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg
/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg
/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg
/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg
/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5489046573638916 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:16:03.454173
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', 2), ('/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', 2), ('/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', 2), ('/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', 2), ('/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', 2), ('/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', '/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', '/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', '/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', '/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', '/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg
/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg
/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg
/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg
/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg
/home/pi/Desktop/images/03072025/19/58/image_03072025_19_58_01_7121.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.590463876724243 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:17:04.022625
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg', 2), ('/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', 2), ('/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', 2), ('/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', 2), ('/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', 2), ('/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg', '/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', '/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', '/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', '/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', '/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg
/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg
/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg
/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg
/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg
/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5269415378570557 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:18:03.351582
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg', 2), ('/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', 2), ('/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', 2), ('/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', 2), ('/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', 2), ('/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg', '/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', '/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', '/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', '/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', '/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg
/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg
/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg
/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg
/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg
/home/pi/Desktop/images/03072025/20/02/image_03072025_20_02_02_0893.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.462445020675659 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:19:03.881950
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg', 2), ('/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg', 2), ('/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', 2), ('/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', 2), ('/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', 2), ('/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg', '/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg', '/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', '/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', '/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', '/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg
/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg
/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg
/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg
/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg
/home/pi/Desktop/images/03072025/20/04/image_03072025_20_04_02_1734.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.835878610610962 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:20:03.109599
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg', 2), ('/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg', 2), ('/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg', 2), ('/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', 2), ('/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', 2), ('/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg', '/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg', '/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg', '/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', '/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', '/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg
/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg
/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg
/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg
/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg
/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0666608810424805 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:21:03.413448
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg', 2), ('/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg', 2), ('/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg', 2), ('/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', 2), ('/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', 2), ('/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg', '/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg', '/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg', '/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', '/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', '/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg
/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg
/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg
/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg
/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg
/home/pi/Desktop/images/03072025/20/05/image_03072025_20_05_01_6896.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4315271377563477 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:22:03.145017
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg', 2), ('/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg', 2), ('/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg', 2), ('/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg', 2), ('/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', 2), ('/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg', '/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg', '/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg', '/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg', '/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', '/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg
/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg
/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg
/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg
/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg
/home/pi/Desktop/images/03072025/20/06/image_03072025_20_06_01_7165.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.41585373878479 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:23:03.773933
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg', 2), ('/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg', 2), ('/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg', 2), ('/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg', 2), ('/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg', 2), ('/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg', '/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg', '/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg', '/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg', '/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg', '/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg
/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg
/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg
/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg
/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg
/home/pi/Desktop/images/03072025/20/08/image_03072025_20_08_02_1696.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5014350414276123 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:24:03.322557
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg', 2), ('/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg', 2), ('/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg', 2), ('/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg', 2), ('/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg', 2), ('/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg', '/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg', '/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg', '/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg', '/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg', '/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg
/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg
/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg
/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg
/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg
/home/pi/Desktop/images/03072025/20/12/image_03072025_20_12_01_7696.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.887876033782959 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:25:06.697260
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg', 2), ('/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg', 2), ('/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg', 2), ('/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg', 2), ('/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg', 2), ('/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg', '/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg', '/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg', '/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg', '/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg', '/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg
/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg
/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg
/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg
/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg
/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.525703430175781 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:26:03.815053
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg', 2), ('/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg', 2), ('/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg', 2), ('/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg', 2), ('/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg', 2), ('/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg', '/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg', '/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg', '/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg', '/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg', '/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg
/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg
/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg
/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg
/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg
/home/pi/Desktop/images/03072025/20/17/image_03072025_20_17_01_7747.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.5910110473632812 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:27:03.630615
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg', 2), ('/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg', 2), ('/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg', 2), ('/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg', 2), ('/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg', 2), ('/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg', '/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg', '/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg', '/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg', '/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg', '/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg
/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg
/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg
/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg
/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg
/home/pi/Desktop/images/03072025/20/19/image_03072025_20_19_01_8640.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.455475330352783 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:28:03.569868
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg', 2), ('/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg', 2), ('/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg', 2), ('/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg', 2), ('/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg', 2), ('/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg', '/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg', '/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg', '/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg', '/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg', '/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg
/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg
/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg
/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg
/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg
/home/pi/Desktop/images/03072025/20/20/image_03072025_20_20_01_9405.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4586899280548096 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:29:04.134039
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/30/image_03072025_20_30_02_1248.jpg', 2), ('/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg', 2), ('/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg', 2), ('/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg', 2), ('/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg', 2), ('/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg', '/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg', '/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg', '/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg', '/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg
/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg
/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg
/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg
/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.541309118270874 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/03072025/20/30/image_03072025_20_30_02_1248.jpg'],)
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:30:03.362988
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg', 2), ('/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg', 2), ('/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg', 2), ('/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg', 2), ('/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg', 2), ('/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg', '/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg', '/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg', '/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg', '/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg', '/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg
/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg
/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg
/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg
/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg
/home/pi/Desktop/images/03072025/20/22/image_03072025_20_22_01_5080.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.385787010192871 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:31:03.762628
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg', 2), ('/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg', 2), ('/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg', 2), ('/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg', 2), ('/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg', 2), ('/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg', '/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg', '/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg', '/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg', '/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg', '/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg
/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg
/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg
/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg
/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg
/home/pi/Desktop/images/03072025/20/23/image_03072025_20_23_01_6622.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.81199049949646 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:32:02.990208
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg', 2), ('/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg', 2), ('/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg', 2), ('/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg', 2), ('/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg', 2), ('/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg', '/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg', '/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg', '/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg', '/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg', '/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg
/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg
/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg
/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg
/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg
/home/pi/Desktop/images/03072025/20/24/image_03072025_20_24_01_7067.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4037883281707764 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:33:04.031438
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg', 2), ('/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg', 2), ('/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg', 2), ('/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg', 2), ('/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg', 2), ('/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg', '/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg', '/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg', '/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg', '/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg', '/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg
/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg
/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg
/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg
/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg
/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.634920120239258 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:34:03.596162
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg', 2), ('/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg', 2), ('/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg', 2), ('/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg', 2), ('/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg', 2), ('/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg', '/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg', '/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg', '/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg', '/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg', '/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg
/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg
/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg
/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg
/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg
/home/pi/Desktop/images/03072025/20/25/image_03072025_20_25_01_7766.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.080886125564575 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:35:03.168165
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg', 2), ('/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg', 2), ('/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg', 2), ('/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg', 2), ('/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg', 2), ('/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg', '/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg', '/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg', '/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg', '/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg', '/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg
/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg
/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg
/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg
/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg
/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.424994468688965 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:36:03.407790
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg', 2), ('/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg', 2), ('/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg', 2), ('/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg', 2), ('/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg', 2), ('/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg', '/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg', '/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg', '/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg', '/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg', '/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg
/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg
/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg
/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg
/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg
/home/pi/Desktop/images/03072025/20/27/image_03072025_20_27_01_8241.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4267427921295166 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:37:04.070717
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg', 2), ('/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg', 2), ('/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg', 2), ('/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg', 2), ('/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg', 2), ('/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg', '/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg', '/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg', '/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg', '/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg', '/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg
/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg
/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg
/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg
/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg
/home/pi/Desktop/images/03072025/20/28/image_03072025_20_28_01_5283.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.807203769683838 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:38:03.030549
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg', 2), ('/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg', 2), ('/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg', 2), ('/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg', 2), ('/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg', 2), ('/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg', '/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg', '/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg', '/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg', '/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg', '/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg
/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg
/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg
/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg
/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg
/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3895034790039062 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:39:03.198280
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg', 2), ('/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg', 2), ('/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg', 2), ('/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg', 2), ('/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg', 2), ('/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg', '/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg', '/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg', '/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg', '/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg', '/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg
/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg
/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg
/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg
/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg
/home/pi/Desktop/images/03072025/20/29/image_03072025_20_29_02_1055.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.819077730178833 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:40:03.712844
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg', 2), ('/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg', 2), ('/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg', 2), ('/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg', 2), ('/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg', 2), ('/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg', '/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg', '/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg', '/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg', '/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg', '/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg
/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg
/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg
/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg
/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg
/home/pi/Desktop/images/03072025/20/31/image_03072025_20_31_01_8044.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3829874992370605 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:41:03.885089
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg', 2), ('/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg', 2), ('/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg', 2), ('/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg', 2), ('/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg', 2), ('/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg', '/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg', '/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg', '/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg', '/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg', '/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg
/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg
/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg
/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg
/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg
/home/pi/Desktop/images/03072025/20/32/image_03072025_20_32_01_6159.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4775636196136475 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:42:03.579693
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg', 2), ('/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg', 2), ('/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg', 2), ('/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg', 2), ('/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg', 2), ('/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg', '/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg', '/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg', '/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg', '/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg', '/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg
/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg
/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg
/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg
/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg
/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4337358474731445 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:43:03.473305
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg', 2), ('/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg', 2), ('/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg', 2), ('/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg', 2), ('/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg', 2), ('/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg', '/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg', '/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg', '/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg', '/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg', '/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg
/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg
/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg
/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg
/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg
/home/pi/Desktop/images/03072025/20/33/image_03072025_20_33_01_4948.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.520128011703491 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:44:03.854842
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/42/image_03072025_20_42_02_0917.jpg', 2), ('/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg', 2), ('/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg', 2), ('/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg', 2), ('/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg', 2), ('/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/42/image_03072025_20_42_02_0917.jpg', '/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg', '/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg', '/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg', '/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg', '/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/42/image_03072025_20_42_02_0917.jpg
/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg
/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg
/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg
/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg
/home/pi/Desktop/images/03072025/20/35/image_03072025_20_35_02_1551.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6029512882232666 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:45:03.747453
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg', 2), ('/home/pi/Desktop/images/03072025/20/42/image_03072025_20_42_02_0917.jpg', 2), ('/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg', 2), ('/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg', 2), ('/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg', 2), ('/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg', '/home/pi/Desktop/images/03072025/20/42/image_03072025_20_42_02_0917.jpg', '/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg', '/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg', '/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg', '/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg
/home/pi/Desktop/images/03072025/20/42/image_03072025_20_42_02_0917.jpg
/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg
/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg
/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg
/home/pi/Desktop/images/03072025/20/37/image_03072025_20_37_01_9087.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.505423069000244 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:46:03.738753
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg', 2), ('/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg', 2), ('/home/pi/Desktop/images/03072025/20/42/image_03072025_20_42_02_0917.jpg', 2), ('/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg', 2), ('/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg', 2), ('/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg', '/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg', '/home/pi/Desktop/images/03072025/20/42/image_03072025_20_42_02_0917.jpg', '/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg', '/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg', '/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg
/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg
/home/pi/Desktop/images/03072025/20/42/image_03072025_20_42_02_0917.jpg
/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg
/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg
/home/pi/Desktop/images/03072025/20/38/image_03072025_20_38_01_8613.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.421915292739868 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:47:04.054004
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg', 2), ('/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg', 2), ('/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg', 2), ('/home/pi/Desktop/images/03072025/20/42/image_03072025_20_42_02_0917.jpg', 2), ('/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg', 2), ('/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg', '/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg', '/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg', '/home/pi/Desktop/images/03072025/20/42/image_03072025_20_42_02_0917.jpg', '/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg', '/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg
/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg
/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg
/home/pi/Desktop/images/03072025/20/42/image_03072025_20_42_02_0917.jpg
/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg
/home/pi/Desktop/images/03072025/20/40/image_03072025_20_40_01_3475.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0032172203063965 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:48:02.903166
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg', 2), ('/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg', 2), ('/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg', 2), ('/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg', 2), ('/home/pi/Desktop/images/03072025/20/42/image_03072025_20_42_02_0917.jpg', 2), ('/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg', '/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg', '/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg', '/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg', '/home/pi/Desktop/images/03072025/20/42/image_03072025_20_42_02_0917.jpg', '/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg
/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg
/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg
/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg
/home/pi/Desktop/images/03072025/20/42/image_03072025_20_42_02_0917.jpg
/home/pi/Desktop/images/03072025/20/41/image_03072025_20_41_02_1682.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4723639488220215 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:49:03.567417
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg', 2), ('/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg', 2), ('/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg', 2), ('/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg', 2), ('/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg', 2), ('/home/pi/Desktop/images/03072025/20/42/image_03072025_20_42_02_0917.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg', '/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg', '/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg', '/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg', '/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg', '/home/pi/Desktop/images/03072025/20/42/image_03072025_20_42_02_0917.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg
/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg
/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg
/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg
/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg
/home/pi/Desktop/images/03072025/20/42/image_03072025_20_42_02_0917.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.562581777572632 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:50:03.481605
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', 2), ('/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg', 2), ('/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg', 2), ('/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg', 2), ('/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg', 2), ('/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', '/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg', '/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg', '/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg', '/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg', '/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg
/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg
/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg
/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg
/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg
/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4352548122406006 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:51:03.787272
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', 2), ('/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg', 2), ('/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg', 2), ('/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg', 2), ('/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg', 2), ('/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', '/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg', '/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg', '/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg', '/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg', '/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg
/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg
/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg
/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg
/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg
/home/pi/Desktop/images/03072025/20/44/image_03072025_20_44_01_4932.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.463757038116455 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:52:03.206960
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', 2), ('/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', 2), ('/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg', 2), ('/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg', 2), ('/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg', 2), ('/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', '/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', '/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg', '/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg', '/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg', '/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg
/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg
/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg
/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg
/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg
/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4502720832824707 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:53:03.797983
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', 2), ('/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', 2), ('/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg', 2), ('/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg', 2), ('/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg', 2), ('/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', '/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', '/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg', '/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg', '/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg', '/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg
/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg
/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg
/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg
/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg
/home/pi/Desktop/images/03072025/20/45/image_03072025_20_45_01_9387.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4498867988586426 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:54:02.765504
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', 2), ('/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', 2), ('/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', 2), ('/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg', 2), ('/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg', 2), ('/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', '/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', '/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', '/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg', '/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg', '/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg
/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg
/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg
/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg
/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg
/home/pi/Desktop/images/03072025/20/46/image_03072025_20_46_01_7512.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3642451763153076 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:55:04.393550
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', 2), ('/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', 2), ('/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', 2), ('/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', 2), ('/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg', 2), ('/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', '/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', '/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', '/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', '/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg', '/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg
/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg
/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg
/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg
/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg
/home/pi/Desktop/images/03072025/20/47/image_03072025_20_47_02_3050.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.621351480484009 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:56:03.626701
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', 2), ('/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', 2), ('/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', 2), ('/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', 2), ('/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', 2), ('/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', '/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', '/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', '/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', '/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', '/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg
/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg
/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg
/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg
/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg
/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6963517665863037 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:57:04.165844
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', 2), ('/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', 2), ('/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', 2), ('/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', 2), ('/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', 2), ('/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', '/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', '/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', '/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', '/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', '/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg
/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg
/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg
/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg
/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg
/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9755194187164307 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 20:59:03.772771
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', 2), ('/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', 2), ('/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', 2), ('/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', 2), ('/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', 2), ('/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', '/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', '/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', '/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', '/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', '/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg
/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg
/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg
/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg
/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg
/home/pi/Desktop/images/03072025/20/48/image_03072025_20_48_02_2039.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.50744366645813 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:00:02.728783
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', 2), ('/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', 2), ('/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', 2), ('/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', 2), ('/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', 2), ('/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', '/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', '/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', '/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', '/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', '/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg
/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg
/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg
/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg
/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg
/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5445492267608643 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:01:03.707324
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', 2), ('/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', 2), ('/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', 2), ('/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', 2), ('/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', 2), ('/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', '/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', '/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', '/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', '/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', '/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg
/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg
/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg
/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg
/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg
/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.390864133834839 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:02:03.442936
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', 2), ('/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', 2), ('/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', 2), ('/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', 2), ('/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', 2), ('/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', '/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', '/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', '/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', '/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', '/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg
/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg
/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg
/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg
/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg
/home/pi/Desktop/images/03072025/20/49/image_03072025_20_49_01_5033.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4307048320770264 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:03:04.186974
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', 2), ('/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', 2), ('/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', 2), ('/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', 2), ('/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', 2), ('/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', '/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', '/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', '/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', '/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', '/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg
/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg
/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg
/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg
/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg
/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.754495620727539 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:04:03.016603
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', 2), ('/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', 2), ('/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', 2), ('/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', 2), ('/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', 2), ('/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', '/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', '/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', '/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', '/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', '/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg
/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg
/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg
/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg
/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg
/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3609495162963867 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:05:04.191124
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', 2), ('/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', 2), ('/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', 2), ('/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', 2), ('/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', 2), ('/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', '/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', '/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', '/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', '/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', '/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg
/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg
/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg
/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg
/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg
/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.545443534851074 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:06:03.333670
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', 2), ('/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', 2), ('/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', 2), ('/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', 2), ('/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', 2), ('/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', '/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', '/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', '/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', '/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', '/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg
/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg
/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg
/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg
/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg
/home/pi/Desktop/images/03072025/20/50/image_03072025_20_50_01_5057.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.391329526901245 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:07:03.943946
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg', 2), ('/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', 2), ('/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', 2), ('/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', 2), ('/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', 2), ('/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg', '/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', '/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', '/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', '/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', '/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg
/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg
/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg
/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg
/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg
/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.913987636566162 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:08:03.482610
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg', 2), ('/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', 2), ('/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', 2), ('/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', 2), ('/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', 2), ('/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg', '/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', '/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', '/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', '/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', '/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg
/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg
/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg
/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg
/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg
/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4851949214935303 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:09:03.969074
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg', 2), ('/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', 2), ('/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', 2), ('/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', 2), ('/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', 2), ('/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg', '/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', '/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', '/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', '/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', '/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg
/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg
/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg
/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg
/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg
/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4751460552215576 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:10:03.351084
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg', 2), ('/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', 2), ('/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', 2), ('/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', 2), ('/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', 2), ('/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg', '/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', '/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', '/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', '/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', '/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg
/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg
/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg
/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg
/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg
/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.444608211517334 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:11:03.916572
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg', 2), ('/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', 2), ('/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', 2), ('/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', 2), ('/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', 2), ('/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg', '/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', '/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', '/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', '/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', '/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg
/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg
/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg
/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg
/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg
/home/pi/Desktop/images/03072025/20/52/image_03072025_20_52_02_0208.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6377270221710205 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:12:03.602552
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/07/image_03072025_21_07_01_7398.jpg', 2), ('/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg', 2), ('/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', 2), ('/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', 2), ('/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', 2), ('/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/07/image_03072025_21_07_01_7398.jpg', '/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg', '/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', '/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', '/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', '/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/07/image_03072025_21_07_01_7398.jpg
/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg
/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg
/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg
/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg
/home/pi/Desktop/images/03072025/20/54/image_03072025_20_54_01_7197.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.000081777572632 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:13:04.198794
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/12/image_03072025_21_12_01_9939.jpg', 2), ('/home/pi/Desktop/images/03072025/21/07/image_03072025_21_07_01_7398.jpg', 2), ('/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg', 2), ('/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', 2), ('/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', 2), ('/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/12/image_03072025_21_12_01_9939.jpg', '/home/pi/Desktop/images/03072025/21/07/image_03072025_21_07_01_7398.jpg', '/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg', '/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', '/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', '/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/12/image_03072025_21_12_01_9939.jpg
/home/pi/Desktop/images/03072025/21/07/image_03072025_21_07_01_7398.jpg
/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg
/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg
/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg
/home/pi/Desktop/images/03072025/20/55/image_03072025_20_55_01_1470.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5118777751922607 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:14:03.764787
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/13/image_03072025_21_13_02_0557.jpg', 2), ('/home/pi/Desktop/images/03072025/21/12/image_03072025_21_12_01_9939.jpg', 2), ('/home/pi/Desktop/images/03072025/21/07/image_03072025_21_07_01_7398.jpg', 2), ('/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg', 2), ('/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', 2), ('/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/13/image_03072025_21_13_02_0557.jpg', '/home/pi/Desktop/images/03072025/21/12/image_03072025_21_12_01_9939.jpg', '/home/pi/Desktop/images/03072025/21/07/image_03072025_21_07_01_7398.jpg', '/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg', '/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', '/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/13/image_03072025_21_13_02_0557.jpg
/home/pi/Desktop/images/03072025/21/12/image_03072025_21_12_01_9939.jpg
/home/pi/Desktop/images/03072025/21/07/image_03072025_21_07_01_7398.jpg
/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg
/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg
/home/pi/Desktop/images/03072025/20/56/image_03072025_20_56_01_9491.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7633914947509766 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:15:03.599628
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg', 2), ('/home/pi/Desktop/images/03072025/21/13/image_03072025_21_13_02_0557.jpg', 2), ('/home/pi/Desktop/images/03072025/21/12/image_03072025_21_12_01_9939.jpg', 2), ('/home/pi/Desktop/images/03072025/21/07/image_03072025_21_07_01_7398.jpg', 2), ('/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg', 2), ('/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg', '/home/pi/Desktop/images/03072025/21/13/image_03072025_21_13_02_0557.jpg', '/home/pi/Desktop/images/03072025/21/12/image_03072025_21_12_01_9939.jpg', '/home/pi/Desktop/images/03072025/21/07/image_03072025_21_07_01_7398.jpg', '/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg', '/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg
/home/pi/Desktop/images/03072025/21/13/image_03072025_21_13_02_0557.jpg
/home/pi/Desktop/images/03072025/21/12/image_03072025_21_12_01_9939.jpg
/home/pi/Desktop/images/03072025/21/07/image_03072025_21_07_01_7398.jpg
/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg
/home/pi/Desktop/images/03072025/21/00/image_03072025_21_00_01_8412.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8258860111236572 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:16:03.783122
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg', 2), ('/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg', 2), ('/home/pi/Desktop/images/03072025/21/13/image_03072025_21_13_02_0557.jpg', 2), ('/home/pi/Desktop/images/03072025/21/12/image_03072025_21_12_01_9939.jpg', 2), ('/home/pi/Desktop/images/03072025/21/07/image_03072025_21_07_01_7398.jpg', 2), ('/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg', '/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg', '/home/pi/Desktop/images/03072025/21/13/image_03072025_21_13_02_0557.jpg', '/home/pi/Desktop/images/03072025/21/12/image_03072025_21_12_01_9939.jpg', '/home/pi/Desktop/images/03072025/21/07/image_03072025_21_07_01_7398.jpg', '/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg
/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg
/home/pi/Desktop/images/03072025/21/13/image_03072025_21_13_02_0557.jpg
/home/pi/Desktop/images/03072025/21/12/image_03072025_21_12_01_9939.jpg
/home/pi/Desktop/images/03072025/21/07/image_03072025_21_07_01_7398.jpg
/home/pi/Desktop/images/03072025/21/03/image_03072025_21_03_01_8948.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6400413513183594 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:17:04.505015
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg', 2), ('/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg', 2), ('/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg', 2), ('/home/pi/Desktop/images/03072025/21/13/image_03072025_21_13_02_0557.jpg', 2), ('/home/pi/Desktop/images/03072025/21/12/image_03072025_21_12_01_9939.jpg', 2), ('/home/pi/Desktop/images/03072025/21/07/image_03072025_21_07_01_7398.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg', '/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg', '/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg', '/home/pi/Desktop/images/03072025/21/13/image_03072025_21_13_02_0557.jpg', '/home/pi/Desktop/images/03072025/21/12/image_03072025_21_12_01_9939.jpg', '/home/pi/Desktop/images/03072025/21/07/image_03072025_21_07_01_7398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg
/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg
/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg
/home/pi/Desktop/images/03072025/21/13/image_03072025_21_13_02_0557.jpg
/home/pi/Desktop/images/03072025/21/12/image_03072025_21_12_01_9939.jpg
/home/pi/Desktop/images/03072025/21/07/image_03072025_21_07_01_7398.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1230223178863525 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:18:03.463445
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg', 2), ('/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg', 2), ('/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg', 2), ('/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg', 2), ('/home/pi/Desktop/images/03072025/21/13/image_03072025_21_13_02_0557.jpg', 2), ('/home/pi/Desktop/images/03072025/21/12/image_03072025_21_12_01_9939.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg', '/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg', '/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg', '/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg', '/home/pi/Desktop/images/03072025/21/13/image_03072025_21_13_02_0557.jpg', '/home/pi/Desktop/images/03072025/21/12/image_03072025_21_12_01_9939.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg
/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg
/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg
/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg
/home/pi/Desktop/images/03072025/21/13/image_03072025_21_13_02_0557.jpg
/home/pi/Desktop/images/03072025/21/12/image_03072025_21_12_01_9939.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.649698495864868 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:19:04.181602
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/20/image_03072025_21_20_02_2876.jpg', 2), ('/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg', 2), ('/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg', 2), ('/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg', 2), ('/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg', 2), ('/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg', '/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg', '/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg', '/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg', '/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg
/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg
/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg
/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg
/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6337833404541016 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/03072025/21/20/image_03072025_21_20_02_2876.jpg'],)
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:20:03.378619
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg', 2), ('/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg', 2), ('/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg', 2), ('/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg', 2), ('/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg', 2), ('/home/pi/Desktop/images/03072025/21/13/image_03072025_21_13_02_0557.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg', '/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg', '/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg', '/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg', '/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg', '/home/pi/Desktop/images/03072025/21/13/image_03072025_21_13_02_0557.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg
/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg
/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg
/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg
/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg
/home/pi/Desktop/images/03072025/21/13/image_03072025_21_13_02_0557.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.217881679534912 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:21:03.639366
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/19/image_03072025_21_19_02_0205.jpg', 2), ('/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg', 2), ('/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg', 2), ('/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg', 2), ('/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg', 2), ('/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/19/image_03072025_21_19_02_0205.jpg', '/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg', '/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg', '/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg', '/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg', '/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/19/image_03072025_21_19_02_0205.jpg
/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg
/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg
/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg
/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg
/home/pi/Desktop/images/03072025/21/14/image_03072025_21_14_02_0233.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6931071281433105 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:22:03.420279
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/21/image_03072025_21_21_01_8420.jpg', 2), ('/home/pi/Desktop/images/03072025/21/19/image_03072025_21_19_02_0205.jpg', 2), ('/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg', 2), ('/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg', 2), ('/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg', 2), ('/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/21/image_03072025_21_21_01_8420.jpg', '/home/pi/Desktop/images/03072025/21/19/image_03072025_21_19_02_0205.jpg', '/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg', '/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg', '/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg', '/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/21/image_03072025_21_21_01_8420.jpg
/home/pi/Desktop/images/03072025/21/19/image_03072025_21_19_02_0205.jpg
/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg
/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg
/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg
/home/pi/Desktop/images/03072025/21/15/image_03072025_21_15_01_5996.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7413198947906494 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:23:03.742699
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/22/image_03072025_21_22_01_6567.jpg', 2), ('/home/pi/Desktop/images/03072025/21/21/image_03072025_21_21_01_8420.jpg', 2), ('/home/pi/Desktop/images/03072025/21/19/image_03072025_21_19_02_0205.jpg', 2), ('/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg', 2), ('/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg', 2), ('/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/22/image_03072025_21_22_01_6567.jpg', '/home/pi/Desktop/images/03072025/21/21/image_03072025_21_21_01_8420.jpg', '/home/pi/Desktop/images/03072025/21/19/image_03072025_21_19_02_0205.jpg', '/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg', '/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg', '/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/22/image_03072025_21_22_01_6567.jpg
/home/pi/Desktop/images/03072025/21/21/image_03072025_21_21_01_8420.jpg
/home/pi/Desktop/images/03072025/21/19/image_03072025_21_19_02_0205.jpg
/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg
/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg
/home/pi/Desktop/images/03072025/21/16/image_03072025_21_16_01_5075.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6369171142578125 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:24:05.677123
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/23/image_03072025_21_23_01_8485.jpg', 2), ('/home/pi/Desktop/images/03072025/21/22/image_03072025_21_22_01_6567.jpg', 2), ('/home/pi/Desktop/images/03072025/21/21/image_03072025_21_21_01_8420.jpg', 2), ('/home/pi/Desktop/images/03072025/21/19/image_03072025_21_19_02_0205.jpg', 2), ('/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg', 2), ('/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/23/image_03072025_21_23_01_8485.jpg', '/home/pi/Desktop/images/03072025/21/22/image_03072025_21_22_01_6567.jpg', '/home/pi/Desktop/images/03072025/21/21/image_03072025_21_21_01_8420.jpg', '/home/pi/Desktop/images/03072025/21/19/image_03072025_21_19_02_0205.jpg', '/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg', '/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/23/image_03072025_21_23_01_8485.jpg
/home/pi/Desktop/images/03072025/21/22/image_03072025_21_22_01_6567.jpg
/home/pi/Desktop/images/03072025/21/21/image_03072025_21_21_01_8420.jpg
/home/pi/Desktop/images/03072025/21/19/image_03072025_21_19_02_0205.jpg
/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg
/home/pi/Desktop/images/03072025/21/17/image_03072025_21_17_02_2205.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3445515632629395 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:25:06.494891
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/24/image_03072025_21_24_01_7236.jpg', 2), ('/home/pi/Desktop/images/03072025/21/23/image_03072025_21_23_01_8485.jpg', 2), ('/home/pi/Desktop/images/03072025/21/22/image_03072025_21_22_01_6567.jpg', 2), ('/home/pi/Desktop/images/03072025/21/21/image_03072025_21_21_01_8420.jpg', 2), ('/home/pi/Desktop/images/03072025/21/19/image_03072025_21_19_02_0205.jpg', 2), ('/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/24/image_03072025_21_24_01_7236.jpg', '/home/pi/Desktop/images/03072025/21/23/image_03072025_21_23_01_8485.jpg', '/home/pi/Desktop/images/03072025/21/22/image_03072025_21_22_01_6567.jpg', '/home/pi/Desktop/images/03072025/21/21/image_03072025_21_21_01_8420.jpg', '/home/pi/Desktop/images/03072025/21/19/image_03072025_21_19_02_0205.jpg', '/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/24/image_03072025_21_24_01_7236.jpg
/home/pi/Desktop/images/03072025/21/23/image_03072025_21_23_01_8485.jpg
/home/pi/Desktop/images/03072025/21/22/image_03072025_21_22_01_6567.jpg
/home/pi/Desktop/images/03072025/21/21/image_03072025_21_21_01_8420.jpg
/home/pi/Desktop/images/03072025/21/19/image_03072025_21_19_02_0205.jpg
/home/pi/Desktop/images/03072025/21/18/image_03072025_21_18_01_9616.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.64620041847229 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:26:04.170014
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/25/image_03072025_21_25_01_9912.jpg', 2), ('/home/pi/Desktop/images/03072025/21/24/image_03072025_21_24_01_7236.jpg', 2), ('/home/pi/Desktop/images/03072025/21/23/image_03072025_21_23_01_8485.jpg', 2), ('/home/pi/Desktop/images/03072025/21/22/image_03072025_21_22_01_6567.jpg', 2), ('/home/pi/Desktop/images/03072025/21/21/image_03072025_21_21_01_8420.jpg', 2), ('/home/pi/Desktop/images/03072025/21/19/image_03072025_21_19_02_0205.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/25/image_03072025_21_25_01_9912.jpg', '/home/pi/Desktop/images/03072025/21/24/image_03072025_21_24_01_7236.jpg', '/home/pi/Desktop/images/03072025/21/23/image_03072025_21_23_01_8485.jpg', '/home/pi/Desktop/images/03072025/21/22/image_03072025_21_22_01_6567.jpg', '/home/pi/Desktop/images/03072025/21/21/image_03072025_21_21_01_8420.jpg', '/home/pi/Desktop/images/03072025/21/19/image_03072025_21_19_02_0205.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/25/image_03072025_21_25_01_9912.jpg
/home/pi/Desktop/images/03072025/21/24/image_03072025_21_24_01_7236.jpg
/home/pi/Desktop/images/03072025/21/23/image_03072025_21_23_01_8485.jpg
/home/pi/Desktop/images/03072025/21/22/image_03072025_21_22_01_6567.jpg
/home/pi/Desktop/images/03072025/21/21/image_03072025_21_21_01_8420.jpg
/home/pi/Desktop/images/03072025/21/19/image_03072025_21_19_02_0205.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.8951926231384277 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:27:04.196589
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/26/image_03072025_21_26_01_8634.jpg', 2), ('/home/pi/Desktop/images/03072025/21/25/image_03072025_21_25_01_9912.jpg', 2), ('/home/pi/Desktop/images/03072025/21/24/image_03072025_21_24_01_7236.jpg', 2), ('/home/pi/Desktop/images/03072025/21/23/image_03072025_21_23_01_8485.jpg', 2), ('/home/pi/Desktop/images/03072025/21/22/image_03072025_21_22_01_6567.jpg', 2), ('/home/pi/Desktop/images/03072025/21/21/image_03072025_21_21_01_8420.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/26/image_03072025_21_26_01_8634.jpg', '/home/pi/Desktop/images/03072025/21/25/image_03072025_21_25_01_9912.jpg', '/home/pi/Desktop/images/03072025/21/24/image_03072025_21_24_01_7236.jpg', '/home/pi/Desktop/images/03072025/21/23/image_03072025_21_23_01_8485.jpg', '/home/pi/Desktop/images/03072025/21/22/image_03072025_21_22_01_6567.jpg', '/home/pi/Desktop/images/03072025/21/21/image_03072025_21_21_01_8420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/26/image_03072025_21_26_01_8634.jpg
/home/pi/Desktop/images/03072025/21/25/image_03072025_21_25_01_9912.jpg
/home/pi/Desktop/images/03072025/21/24/image_03072025_21_24_01_7236.jpg
/home/pi/Desktop/images/03072025/21/23/image_03072025_21_23_01_8485.jpg
/home/pi/Desktop/images/03072025/21/22/image_03072025_21_22_01_6567.jpg
/home/pi/Desktop/images/03072025/21/21/image_03072025_21_21_01_8420.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.636218547821045 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:28:02.935554
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg', 2), ('/home/pi/Desktop/images/03072025/21/26/image_03072025_21_26_01_8634.jpg', 2), ('/home/pi/Desktop/images/03072025/21/25/image_03072025_21_25_01_9912.jpg', 2), ('/home/pi/Desktop/images/03072025/21/24/image_03072025_21_24_01_7236.jpg', 2), ('/home/pi/Desktop/images/03072025/21/23/image_03072025_21_23_01_8485.jpg', 2), ('/home/pi/Desktop/images/03072025/21/22/image_03072025_21_22_01_6567.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg', '/home/pi/Desktop/images/03072025/21/26/image_03072025_21_26_01_8634.jpg', '/home/pi/Desktop/images/03072025/21/25/image_03072025_21_25_01_9912.jpg', '/home/pi/Desktop/images/03072025/21/24/image_03072025_21_24_01_7236.jpg', '/home/pi/Desktop/images/03072025/21/23/image_03072025_21_23_01_8485.jpg', '/home/pi/Desktop/images/03072025/21/22/image_03072025_21_22_01_6567.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg
/home/pi/Desktop/images/03072025/21/26/image_03072025_21_26_01_8634.jpg
/home/pi/Desktop/images/03072025/21/25/image_03072025_21_25_01_9912.jpg
/home/pi/Desktop/images/03072025/21/24/image_03072025_21_24_01_7236.jpg
/home/pi/Desktop/images/03072025/21/23/image_03072025_21_23_01_8485.jpg
/home/pi/Desktop/images/03072025/21/22/image_03072025_21_22_01_6567.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.740922689437866 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:29:03.555821
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg', 2), ('/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg', 2), ('/home/pi/Desktop/images/03072025/21/26/image_03072025_21_26_01_8634.jpg', 2), ('/home/pi/Desktop/images/03072025/21/25/image_03072025_21_25_01_9912.jpg', 2), ('/home/pi/Desktop/images/03072025/21/24/image_03072025_21_24_01_7236.jpg', 2), ('/home/pi/Desktop/images/03072025/21/23/image_03072025_21_23_01_8485.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg', '/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg', '/home/pi/Desktop/images/03072025/21/26/image_03072025_21_26_01_8634.jpg', '/home/pi/Desktop/images/03072025/21/25/image_03072025_21_25_01_9912.jpg', '/home/pi/Desktop/images/03072025/21/24/image_03072025_21_24_01_7236.jpg', '/home/pi/Desktop/images/03072025/21/23/image_03072025_21_23_01_8485.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg
/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg
/home/pi/Desktop/images/03072025/21/26/image_03072025_21_26_01_8634.jpg
/home/pi/Desktop/images/03072025/21/25/image_03072025_21_25_01_9912.jpg
/home/pi/Desktop/images/03072025/21/24/image_03072025_21_24_01_7236.jpg
/home/pi/Desktop/images/03072025/21/23/image_03072025_21_23_01_8485.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7589423656463623 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:30:03.248200
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg', 2), ('/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg', 2), ('/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg', 2), ('/home/pi/Desktop/images/03072025/21/26/image_03072025_21_26_01_8634.jpg', 2), ('/home/pi/Desktop/images/03072025/21/25/image_03072025_21_25_01_9912.jpg', 2), ('/home/pi/Desktop/images/03072025/21/24/image_03072025_21_24_01_7236.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg', '/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg', '/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg', '/home/pi/Desktop/images/03072025/21/26/image_03072025_21_26_01_8634.jpg', '/home/pi/Desktop/images/03072025/21/25/image_03072025_21_25_01_9912.jpg', '/home/pi/Desktop/images/03072025/21/24/image_03072025_21_24_01_7236.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg
/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg
/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg
/home/pi/Desktop/images/03072025/21/26/image_03072025_21_26_01_8634.jpg
/home/pi/Desktop/images/03072025/21/25/image_03072025_21_25_01_9912.jpg
/home/pi/Desktop/images/03072025/21/24/image_03072025_21_24_01_7236.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.154651403427124 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:31:04.018690
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg', 2), ('/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg', 2), ('/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg', 2), ('/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg', 2), ('/home/pi/Desktop/images/03072025/21/26/image_03072025_21_26_01_8634.jpg', 2), ('/home/pi/Desktop/images/03072025/21/25/image_03072025_21_25_01_9912.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg', '/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg', '/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg', '/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg', '/home/pi/Desktop/images/03072025/21/26/image_03072025_21_26_01_8634.jpg', '/home/pi/Desktop/images/03072025/21/25/image_03072025_21_25_01_9912.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg
/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg
/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg
/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg
/home/pi/Desktop/images/03072025/21/26/image_03072025_21_26_01_8634.jpg
/home/pi/Desktop/images/03072025/21/25/image_03072025_21_25_01_9912.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1568994522094727 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:32:03.230826
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg', 2), ('/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg', 2), ('/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg', 2), ('/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg', 2), ('/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg', 2), ('/home/pi/Desktop/images/03072025/21/26/image_03072025_21_26_01_8634.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg', '/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg', '/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg', '/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg', '/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg', '/home/pi/Desktop/images/03072025/21/26/image_03072025_21_26_01_8634.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg
/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg
/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg
/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg
/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg
/home/pi/Desktop/images/03072025/21/26/image_03072025_21_26_01_8634.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.667625665664673 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:33:04.478372
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg', 2), ('/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg', 2), ('/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg', 2), ('/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg', 2), ('/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg', 2), ('/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg', '/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg', '/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg', '/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg', '/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg', '/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg
/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg
/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg
/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg
/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg
/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2288479804992676 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:34:03.424227
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg', 2), ('/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg', 2), ('/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg', 2), ('/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg', 2), ('/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg', 2), ('/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg', '/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg', '/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg', '/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg', '/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg', '/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg
/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg
/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg
/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg
/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg
/home/pi/Desktop/images/03072025/21/27/image_03072025_21_27_02_1304.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1360039710998535 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:35:04.024213
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg', 2), ('/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg', 2), ('/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg', 2), ('/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg', 2), ('/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg', 2), ('/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg', '/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg', '/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg', '/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg', '/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg', '/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg
/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg
/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg
/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg
/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg
/home/pi/Desktop/images/03072025/21/28/image_03072025_21_28_01_7826.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.658449172973633 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:36:03.217596
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg', 2), ('/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg', 2), ('/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg', 2), ('/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg', 2), ('/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg', 2), ('/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg', '/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg', '/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg', '/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg', '/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg', '/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg
/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg
/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg
/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg
/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg
/home/pi/Desktop/images/03072025/21/29/image_03072025_21_29_01_4289.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.896475076675415 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:37:03.725370
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg', 2), ('/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg', 2), ('/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg', 2), ('/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg', 2), ('/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg', 2), ('/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg', '/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg', '/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg', '/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg', '/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg', '/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg
/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg
/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg
/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg
/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg
/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.221017837524414 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:38:02.898405
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg', 2), ('/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg', 2), ('/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg', 2), ('/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg', 2), ('/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg', 2), ('/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg', '/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg', '/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg', '/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg', '/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg', '/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg
/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg
/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg
/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg
/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg
/home/pi/Desktop/images/03072025/21/30/image_03072025_21_30_01_4580.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7361576557159424 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:39:03.342092
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg', 2), ('/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg', 2), ('/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg', 2), ('/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg', 2), ('/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg', 2), ('/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg', '/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg', '/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg', '/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg', '/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg', '/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg
/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg
/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg
/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg
/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg
/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2487051486968994 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:40:04.324411
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg', 2), ('/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg', 2), ('/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg', 2), ('/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg', 2), ('/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg', 2), ('/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg', '/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg', '/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg', '/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg', '/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg', '/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg
/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg
/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg
/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg
/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg
/home/pi/Desktop/images/03072025/21/31/image_03072025_21_31_01_5093.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1100471019744873 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:41:04.023381
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', 2), ('/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg', 2), ('/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg', 2), ('/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg', 2), ('/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg', 2), ('/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', '/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg', '/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg', '/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg', '/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg', '/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg
/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg
/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg
/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg
/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg
/home/pi/Desktop/images/03072025/21/32/image_03072025_21_32_02_0301.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7411670684814453 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:42:03.416195
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', 2), ('/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', 2), ('/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg', 2), ('/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg', 2), ('/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg', 2), ('/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', '/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', '/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg', '/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg', '/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg', '/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg
/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg
/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg
/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg
/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg
/home/pi/Desktop/images/03072025/21/33/image_03072025_21_33_01_7482.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.779115676879883 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:43:04.915669
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', 2), ('/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', 2), ('/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', 2), ('/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg', 2), ('/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg', 2), ('/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', '/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', '/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', '/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg', '/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg', '/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg
/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg
/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg
/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg
/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg
/home/pi/Desktop/images/03072025/21/35/image_03072025_21_35_01_8994.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.8791375160217285 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:44:03.480135
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', 2), ('/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', 2), ('/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', 2), ('/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', 2), ('/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg', 2), ('/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', '/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', '/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', '/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', '/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg', '/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg
/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg
/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg
/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg
/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg
/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1838717460632324 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:45:04.159225
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', 2), ('/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', 2), ('/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', 2), ('/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', 2), ('/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg', 2), ('/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', '/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', '/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', '/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', '/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg', '/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg
/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg
/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg
/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg
/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg
/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.809863805770874 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:46:03.797966
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', 2), ('/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', 2), ('/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', 2), ('/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', 2), ('/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg', 2), ('/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', '/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', '/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', '/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', '/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg', '/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg
/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg
/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg
/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg
/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg
/home/pi/Desktop/images/03072025/21/36/image_03072025_21_36_02_1643.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9052116870880127 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:47:03.795165
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg', 2), ('/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', 2), ('/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', 2), ('/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', 2), ('/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', 2), ('/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg', '/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', '/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', '/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', '/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', '/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg
/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg
/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg
/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg
/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg
/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.766817331314087 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:48:02.943843
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg', 2), ('/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', 2), ('/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', 2), ('/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', 2), ('/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', 2), ('/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg', '/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', '/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', '/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', '/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', '/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg
/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg
/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg
/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg
/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg
/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6045753955841064 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:49:03.430020
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg', 2), ('/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', 2), ('/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', 2), ('/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', 2), ('/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', 2), ('/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg', '/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', '/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', '/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', '/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', '/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg
/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg
/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg
/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg
/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg
/home/pi/Desktop/images/03072025/21/37/image_03072025_21_37_01_6419.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.748063802719116 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:50:04.671922
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg', 2), ('/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg', 2), ('/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', 2), ('/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', 2), ('/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', 2), ('/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg', '/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg', '/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', '/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', '/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', '/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg
/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg
/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg
/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg
/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg
/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3280391693115234 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:51:04.212489
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg', 2), ('/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg', 2), ('/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', 2), ('/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', 2), ('/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', 2), ('/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg', '/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg', '/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', '/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', '/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', '/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg
/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg
/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg
/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg
/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg
/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1857657432556152 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:52:03.315394
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg', 2), ('/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg', 2), ('/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', 2), ('/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', 2), ('/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', 2), ('/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg', '/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg', '/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', '/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', '/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', '/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg
/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg
/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg
/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg
/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg
/home/pi/Desktop/images/03072025/21/39/image_03072025_21_39_01_3455.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0954971313476562 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:53:04.036201
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/50/image_03072025_21_50_01_4567.jpg', 2), ('/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg', 2), ('/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg', 2), ('/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', 2), ('/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', 2), ('/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/50/image_03072025_21_50_01_4567.jpg', '/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg', '/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg', '/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', '/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', '/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/50/image_03072025_21_50_01_4567.jpg
/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg
/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg
/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg
/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg
/home/pi/Desktop/images/03072025/21/41/image_03072025_21_41_01_8214.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8169214725494385 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:54:04.033351
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/53/image_03072025_21_53_01_8741.jpg', 2), ('/home/pi/Desktop/images/03072025/21/50/image_03072025_21_50_01_4567.jpg', 2), ('/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg', 2), ('/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg', 2), ('/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', 2), ('/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/53/image_03072025_21_53_01_8741.jpg', '/home/pi/Desktop/images/03072025/21/50/image_03072025_21_50_01_4567.jpg', '/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg', '/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg', '/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', '/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/53/image_03072025_21_53_01_8741.jpg
/home/pi/Desktop/images/03072025/21/50/image_03072025_21_50_01_4567.jpg
/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg
/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg
/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg
/home/pi/Desktop/images/03072025/21/42/image_03072025_21_42_02_0645.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0012433528900146 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:55:03.790800
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg', 2), ('/home/pi/Desktop/images/03072025/21/53/image_03072025_21_53_01_8741.jpg', 2), ('/home/pi/Desktop/images/03072025/21/50/image_03072025_21_50_01_4567.jpg', 2), ('/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg', 2), ('/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg', 2), ('/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg', '/home/pi/Desktop/images/03072025/21/53/image_03072025_21_53_01_8741.jpg', '/home/pi/Desktop/images/03072025/21/50/image_03072025_21_50_01_4567.jpg', '/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg', '/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg', '/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg
/home/pi/Desktop/images/03072025/21/53/image_03072025_21_53_01_8741.jpg
/home/pi/Desktop/images/03072025/21/50/image_03072025_21_50_01_4567.jpg
/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg
/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg
/home/pi/Desktop/images/03072025/21/43/image_03072025_21_43_01_8507.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.710468292236328 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:56:02.715252
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg', 2), ('/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg', 2), ('/home/pi/Desktop/images/03072025/21/53/image_03072025_21_53_01_8741.jpg', 2), ('/home/pi/Desktop/images/03072025/21/50/image_03072025_21_50_01_4567.jpg', 2), ('/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg', 2), ('/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg', '/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg', '/home/pi/Desktop/images/03072025/21/53/image_03072025_21_53_01_8741.jpg', '/home/pi/Desktop/images/03072025/21/50/image_03072025_21_50_01_4567.jpg', '/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg', '/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg
/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg
/home/pi/Desktop/images/03072025/21/53/image_03072025_21_53_01_8741.jpg
/home/pi/Desktop/images/03072025/21/50/image_03072025_21_50_01_4567.jpg
/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg
/home/pi/Desktop/images/03072025/21/44/image_03072025_21_44_02_1340.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.486426591873169 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:57:04.226362
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg', 2), ('/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg', 2), ('/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg', 2), ('/home/pi/Desktop/images/03072025/21/53/image_03072025_21_53_01_8741.jpg', 2), ('/home/pi/Desktop/images/03072025/21/50/image_03072025_21_50_01_4567.jpg', 2), ('/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg', '/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg', '/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg', '/home/pi/Desktop/images/03072025/21/53/image_03072025_21_53_01_8741.jpg', '/home/pi/Desktop/images/03072025/21/50/image_03072025_21_50_01_4567.jpg', '/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg
/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg
/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg
/home/pi/Desktop/images/03072025/21/53/image_03072025_21_53_01_8741.jpg
/home/pi/Desktop/images/03072025/21/50/image_03072025_21_50_01_4567.jpg
/home/pi/Desktop/images/03072025/21/47/image_03072025_21_47_01_7116.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.728961706161499 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 21:59:04.268588
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg', 2), ('/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg', 2), ('/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg', 2), ('/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg', 2), ('/home/pi/Desktop/images/03072025/21/53/image_03072025_21_53_01_8741.jpg', 2), ('/home/pi/Desktop/images/03072025/21/50/image_03072025_21_50_01_4567.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg', '/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg', '/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg', '/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg', '/home/pi/Desktop/images/03072025/21/53/image_03072025_21_53_01_8741.jpg', '/home/pi/Desktop/images/03072025/21/50/image_03072025_21_50_01_4567.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg
/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg
/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg
/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg
/home/pi/Desktop/images/03072025/21/53/image_03072025_21_53_01_8741.jpg
/home/pi/Desktop/images/03072025/21/50/image_03072025_21_50_01_4567.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.4334874153137207 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:00:03.588831
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg', 2), ('/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg', 2), ('/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg', 2), ('/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg', 2), ('/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg', 2), ('/home/pi/Desktop/images/03072025/21/53/image_03072025_21_53_01_8741.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg', '/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg', '/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg', '/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg', '/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg', '/home/pi/Desktop/images/03072025/21/53/image_03072025_21_53_01_8741.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg
/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg
/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg
/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg
/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg
/home/pi/Desktop/images/03072025/21/53/image_03072025_21_53_01_8741.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.865804672241211 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:01:04.118427
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg', 2), ('/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg', 2), ('/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg', 2), ('/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg', 2), ('/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg', 2), ('/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg', '/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg', '/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg', '/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg', '/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg', '/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg
/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg
/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg
/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg
/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg
/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7421531677246094 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:02:03.664975
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg', 2), ('/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg', 2), ('/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg', 2), ('/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg', 2), ('/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg', 2), ('/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg', '/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg', '/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg', '/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg', '/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg', '/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg
/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg
/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg
/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg
/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg
/home/pi/Desktop/images/03072025/21/54/image_03072025_21_54_02_1242.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6484627723693848 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:03:04.202401
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg', 2), ('/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg', 2), ('/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg', 2), ('/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg', 2), ('/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg', 2), ('/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg', '/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg', '/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg', '/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg', '/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg', '/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg
/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg
/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg
/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg
/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg
/home/pi/Desktop/images/03072025/21/55/image_03072025_21_55_01_5100.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7623555660247803 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:04:03.129537
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg', 2), ('/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg', 2), ('/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg', 2), ('/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg', 2), ('/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg', 2), ('/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg', '/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg', '/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg', '/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg', '/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg', '/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg
/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg
/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg
/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg
/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg
/home/pi/Desktop/images/03072025/21/56/image_03072025_21_56_01_7569.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6796436309814453 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:05:04.603645
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg', 2), ('/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg', 2), ('/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg', 2), ('/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg', 2), ('/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg', 2), ('/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg', '/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg', '/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg', '/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg', '/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg', '/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg
/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg
/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg
/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg
/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg
/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 5.469057559967041 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:06:03.101800
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg', 2), ('/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg', 2), ('/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg', 2), ('/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg', 2), ('/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg', 2), ('/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg', '/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg', '/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg', '/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg', '/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg', '/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg
/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg
/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg
/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg
/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg
/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.806636333465576 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:07:03.794929
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg', 2), ('/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg', 2), ('/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg', 2), ('/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg', 2), ('/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg', 2), ('/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg', '/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg', '/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg', '/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg', '/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg', '/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg
/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg
/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg
/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg
/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg
/home/pi/Desktop/images/03072025/21/57/image_03072025_21_57_01_2558.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7424263954162598 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:08:03.006215
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg', 2), ('/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg', 2), ('/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg', 2), ('/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg', 2), ('/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg', 2), ('/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg', '/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg', '/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg', '/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg', '/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg', '/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg
/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg
/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg
/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg
/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg
/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.683626174926758 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:09:03.465232
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg', 2), ('/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg', 2), ('/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg', 2), ('/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg', 2), ('/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg', 2), ('/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg', '/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg', '/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg', '/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg', '/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg', '/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg
/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg
/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg
/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg
/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg
/home/pi/Desktop/images/03072025/21/58/image_03072025_21_58_02_1963.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0923476219177246 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:10:03.129280
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg', 2), ('/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg', 2), ('/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg', 2), ('/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg', 2), ('/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg', 2), ('/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg', '/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg', '/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg', '/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg', '/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg', '/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg
/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg
/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg
/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg
/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg
/home/pi/Desktop/images/03072025/22/00/image_03072025_22_00_01_4743.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.848125696182251 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:11:03.763047
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg', 2), ('/home/pi/Desktop/images/03072025/22/08/image_03072025_22_08_01_8436.jpg', 2), ('/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg', 2), ('/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg', 2), ('/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg', 2), ('/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg', '/home/pi/Desktop/images/03072025/22/08/image_03072025_22_08_01_8436.jpg', '/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg', '/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg', '/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg', '/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg
/home/pi/Desktop/images/03072025/22/08/image_03072025_22_08_01_8436.jpg
/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg
/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg
/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg
/home/pi/Desktop/images/03072025/22/01/image_03072025_22_01_02_0898.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.882797956466675 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:12:02.755043
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/11/image_03072025_22_11_01_6092.jpg', 2), ('/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg', 2), ('/home/pi/Desktop/images/03072025/22/08/image_03072025_22_08_01_8436.jpg', 2), ('/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg', 2), ('/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg', 2), ('/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/11/image_03072025_22_11_01_6092.jpg', '/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg', '/home/pi/Desktop/images/03072025/22/08/image_03072025_22_08_01_8436.jpg', '/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg', '/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg', '/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/11/image_03072025_22_11_01_6092.jpg
/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg
/home/pi/Desktop/images/03072025/22/08/image_03072025_22_08_01_8436.jpg
/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg
/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg
/home/pi/Desktop/images/03072025/22/03/image_03072025_22_03_01_7611.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.786614418029785 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:13:04.956500
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg', 2), ('/home/pi/Desktop/images/03072025/22/11/image_03072025_22_11_01_6092.jpg', 2), ('/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg', 2), ('/home/pi/Desktop/images/03072025/22/08/image_03072025_22_08_01_8436.jpg', 2), ('/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg', 2), ('/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg', '/home/pi/Desktop/images/03072025/22/11/image_03072025_22_11_01_6092.jpg', '/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg', '/home/pi/Desktop/images/03072025/22/08/image_03072025_22_08_01_8436.jpg', '/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg', '/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg
/home/pi/Desktop/images/03072025/22/11/image_03072025_22_11_01_6092.jpg
/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg
/home/pi/Desktop/images/03072025/22/08/image_03072025_22_08_01_8436.jpg
/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg
/home/pi/Desktop/images/03072025/22/04/image_03072025_22_04_02_3069.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.131348133087158 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:14:03.194011
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg', 2), ('/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg', 2), ('/home/pi/Desktop/images/03072025/22/11/image_03072025_22_11_01_6092.jpg', 2), ('/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg', 2), ('/home/pi/Desktop/images/03072025/22/08/image_03072025_22_08_01_8436.jpg', 2), ('/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg', '/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg', '/home/pi/Desktop/images/03072025/22/11/image_03072025_22_11_01_6092.jpg', '/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg', '/home/pi/Desktop/images/03072025/22/08/image_03072025_22_08_01_8436.jpg', '/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg
/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg
/home/pi/Desktop/images/03072025/22/11/image_03072025_22_11_01_6092.jpg
/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg
/home/pi/Desktop/images/03072025/22/08/image_03072025_22_08_01_8436.jpg
/home/pi/Desktop/images/03072025/22/05/image_03072025_22_05_01_5590.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.732541799545288 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:15:03.902392
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg', 2), ('/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg', 2), ('/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg', 2), ('/home/pi/Desktop/images/03072025/22/11/image_03072025_22_11_01_6092.jpg', 2), ('/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg', 2), ('/home/pi/Desktop/images/03072025/22/08/image_03072025_22_08_01_8436.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg', '/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg', '/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg', '/home/pi/Desktop/images/03072025/22/11/image_03072025_22_11_01_6092.jpg', '/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg', '/home/pi/Desktop/images/03072025/22/08/image_03072025_22_08_01_8436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg
/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg
/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg
/home/pi/Desktop/images/03072025/22/11/image_03072025_22_11_01_6092.jpg
/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg
/home/pi/Desktop/images/03072025/22/08/image_03072025_22_08_01_8436.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.782904863357544 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:16:04.195033
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg', 2), ('/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg', 2), ('/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg', 2), ('/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg', 2), ('/home/pi/Desktop/images/03072025/22/11/image_03072025_22_11_01_6092.jpg', 2), ('/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg', '/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg', '/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg', '/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg', '/home/pi/Desktop/images/03072025/22/11/image_03072025_22_11_01_6092.jpg', '/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg
/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg
/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg
/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg
/home/pi/Desktop/images/03072025/22/11/image_03072025_22_11_01_6092.jpg
/home/pi/Desktop/images/03072025/22/10/image_03072025_22_10_01_5192.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6675193309783936 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:17:03.875263
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg', 2), ('/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg', 2), ('/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg', 2), ('/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg', 2), ('/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg', 2), ('/home/pi/Desktop/images/03072025/22/11/image_03072025_22_11_01_6092.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg', '/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg', '/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg', '/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg', '/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg', '/home/pi/Desktop/images/03072025/22/11/image_03072025_22_11_01_6092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg
/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg
/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg
/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg
/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg
/home/pi/Desktop/images/03072025/22/11/image_03072025_22_11_01_6092.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7134742736816406 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:18:02.975388
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', 2), ('/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg', 2), ('/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg', 2), ('/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg', 2), ('/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg', 2), ('/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', '/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg', '/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg', '/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg', '/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg', '/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg
/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg
/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg
/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg
/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg
/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7567293643951416 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:19:03.633522
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', 2), ('/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg', 2), ('/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg', 2), ('/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg', 2), ('/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg', 2), ('/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', '/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg', '/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg', '/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg', '/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg', '/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg
/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg
/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg
/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg
/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg
/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8178579807281494 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:20:02.733815
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', 2), ('/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg', 2), ('/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg', 2), ('/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg', 2), ('/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg', 2), ('/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', '/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg', '/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg', '/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg', '/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg', '/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg
/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg
/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg
/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg
/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg
/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.79481840133667 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:21:03.565741
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', 2), ('/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg', 2), ('/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg', 2), ('/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg', 2), ('/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg', 2), ('/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', '/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg', '/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg', '/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg', '/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg', '/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg
/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg
/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg
/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg
/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg
/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.739043951034546 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:22:02.943532
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', 2), ('/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg', 2), ('/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg', 2), ('/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg', 2), ('/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg', 2), ('/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', '/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg', '/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg', '/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg', '/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg', '/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg
/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg
/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg
/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg
/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg
/home/pi/Desktop/images/03072025/22/12/image_03072025_22_12_01_8941.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2223968505859375 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:23:03.530663
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg', 2), ('/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', 2), ('/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg', 2), ('/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg', 2), ('/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg', 2), ('/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg', '/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', '/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg', '/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg', '/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg', '/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg
/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg
/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg
/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg
/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg
/home/pi/Desktop/images/03072025/22/13/image_03072025_22_13_01_2151.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7955241203308105 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:24:05.561688
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg', 2), ('/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg', 2), ('/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', 2), ('/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg', 2), ('/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg', 2), ('/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg', '/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg', '/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', '/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg', '/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg', '/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg
/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg
/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg
/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg
/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg
/home/pi/Desktop/images/03072025/22/14/image_03072025_22_14_02_1557.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.443765640258789 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:25:06.308254
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg', 2), ('/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg', 2), ('/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg', 2), ('/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', 2), ('/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg', 2), ('/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg', '/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg', '/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg', '/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', '/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg', '/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg
/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg
/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg
/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg
/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg
/home/pi/Desktop/images/03072025/22/15/image_03072025_22_15_01_7599.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 6.04831337928772 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:26:03.660579
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg', 2), ('/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg', 2), ('/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg', 2), ('/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg', 2), ('/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', 2), ('/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg', '/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg', '/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg', '/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg', '/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', '/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg
/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg
/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg
/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg
/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg
/home/pi/Desktop/images/03072025/22/16/image_03072025_22_16_01_7747.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.089965581893921 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:27:03.306500
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg', 2), ('/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg', 2), ('/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg', 2), ('/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg', 2), ('/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg', 2), ('/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg', '/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg', '/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg', '/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg', '/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg', '/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg
/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg
/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg
/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg
/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg
/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.759903907775879 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:28:03.339868
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg', 2), ('/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg', 2), ('/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg', 2), ('/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg', 2), ('/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg', 2), ('/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg', '/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg', '/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg', '/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg', '/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg', '/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg
/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg
/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg
/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg
/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg
/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7432010173797607 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:29:04.053130
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg', 2), ('/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg', 2), ('/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg', 2), ('/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg', 2), ('/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg', 2), ('/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg', '/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg', '/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg', '/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg', '/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg', '/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg
/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg
/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg
/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg
/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg
/home/pi/Desktop/images/03072025/22/17/image_03072025_22_17_01_2258.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8509607315063477 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:30:03.683457
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/27/image_03072025_22_27_01_5022.jpg', 2), ('/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg', 2), ('/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg', 2), ('/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg', 2), ('/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg', 2), ('/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/27/image_03072025_22_27_01_5022.jpg', '/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg', '/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg', '/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg', '/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg', '/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/27/image_03072025_22_27_01_5022.jpg
/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg
/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg
/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg
/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg
/home/pi/Desktop/images/03072025/22/18/image_03072025_22_18_01_9846.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7256174087524414 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:31:03.164594
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/30/image_03072025_22_30_02_0291.jpg', 2), ('/home/pi/Desktop/images/03072025/22/27/image_03072025_22_27_01_5022.jpg', 2), ('/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg', 2), ('/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg', 2), ('/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg', 2), ('/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/30/image_03072025_22_30_02_0291.jpg', '/home/pi/Desktop/images/03072025/22/27/image_03072025_22_27_01_5022.jpg', '/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg', '/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg', '/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg', '/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/30/image_03072025_22_30_02_0291.jpg
/home/pi/Desktop/images/03072025/22/27/image_03072025_22_27_01_5022.jpg
/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg
/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg
/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg
/home/pi/Desktop/images/03072025/22/23/image_03072025_22_23_01_3717.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.706599712371826 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:32:03.400847
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg', 2), ('/home/pi/Desktop/images/03072025/22/30/image_03072025_22_30_02_0291.jpg', 2), ('/home/pi/Desktop/images/03072025/22/27/image_03072025_22_27_01_5022.jpg', 2), ('/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg', 2), ('/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg', 2), ('/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg', '/home/pi/Desktop/images/03072025/22/30/image_03072025_22_30_02_0291.jpg', '/home/pi/Desktop/images/03072025/22/27/image_03072025_22_27_01_5022.jpg', '/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg', '/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg', '/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg
/home/pi/Desktop/images/03072025/22/30/image_03072025_22_30_02_0291.jpg
/home/pi/Desktop/images/03072025/22/27/image_03072025_22_27_01_5022.jpg
/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg
/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg
/home/pi/Desktop/images/03072025/22/24/image_03072025_22_24_01_4777.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.771427869796753 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:33:05.390420
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg', 2), ('/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg', 2), ('/home/pi/Desktop/images/03072025/22/30/image_03072025_22_30_02_0291.jpg', 2), ('/home/pi/Desktop/images/03072025/22/27/image_03072025_22_27_01_5022.jpg', 2), ('/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg', 2), ('/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg', '/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg', '/home/pi/Desktop/images/03072025/22/30/image_03072025_22_30_02_0291.jpg', '/home/pi/Desktop/images/03072025/22/27/image_03072025_22_27_01_5022.jpg', '/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg', '/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg
/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg
/home/pi/Desktop/images/03072025/22/30/image_03072025_22_30_02_0291.jpg
/home/pi/Desktop/images/03072025/22/27/image_03072025_22_27_01_5022.jpg
/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg
/home/pi/Desktop/images/03072025/22/25/image_03072025_22_25_01_8848.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.6428139209747314 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:34:03.367050
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg', 2), ('/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg', 2), ('/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg', 2), ('/home/pi/Desktop/images/03072025/22/30/image_03072025_22_30_02_0291.jpg', 2), ('/home/pi/Desktop/images/03072025/22/27/image_03072025_22_27_01_5022.jpg', 2), ('/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg', '/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg', '/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg', '/home/pi/Desktop/images/03072025/22/30/image_03072025_22_30_02_0291.jpg', '/home/pi/Desktop/images/03072025/22/27/image_03072025_22_27_01_5022.jpg', '/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg
/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg
/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg
/home/pi/Desktop/images/03072025/22/30/image_03072025_22_30_02_0291.jpg
/home/pi/Desktop/images/03072025/22/27/image_03072025_22_27_01_5022.jpg
/home/pi/Desktop/images/03072025/22/26/image_03072025_22_26_01_7284.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9577205181121826 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:35:03.125882
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg', 2), ('/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg', 2), ('/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg', 2), ('/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg', 2), ('/home/pi/Desktop/images/03072025/22/30/image_03072025_22_30_02_0291.jpg', 2), ('/home/pi/Desktop/images/03072025/22/27/image_03072025_22_27_01_5022.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg', '/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg', '/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg', '/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg', '/home/pi/Desktop/images/03072025/22/30/image_03072025_22_30_02_0291.jpg', '/home/pi/Desktop/images/03072025/22/27/image_03072025_22_27_01_5022.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg
/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg
/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg
/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg
/home/pi/Desktop/images/03072025/22/30/image_03072025_22_30_02_0291.jpg
/home/pi/Desktop/images/03072025/22/27/image_03072025_22_27_01_5022.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.887136936187744 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:36:03.580288
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg', 2), ('/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg', 2), ('/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg', 2), ('/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg', 2), ('/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg', 2), ('/home/pi/Desktop/images/03072025/22/30/image_03072025_22_30_02_0291.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg', '/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg', '/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg', '/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg', '/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg', '/home/pi/Desktop/images/03072025/22/30/image_03072025_22_30_02_0291.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg
/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg
/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg
/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg
/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg
/home/pi/Desktop/images/03072025/22/30/image_03072025_22_30_02_0291.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8383984565734863 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:37:04.293592
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg', 2), ('/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg', 2), ('/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg', 2), ('/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg', 2), ('/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg', 2), ('/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg', '/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg', '/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg', '/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg', '/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg', '/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg
/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg
/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg
/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg
/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg
/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6976046562194824 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:38:03.297588
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg', 2), ('/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg', 2), ('/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg', 2), ('/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg', 2), ('/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg', 2), ('/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg', '/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg', '/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg', '/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg', '/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg', '/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg
/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg
/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg
/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg
/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg
/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.301379919052124 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:39:03.501065
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg', 2), ('/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg', 2), ('/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg', 2), ('/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg', 2), ('/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg', 2), ('/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg', '/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg', '/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg', '/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg', '/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg', '/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg
/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg
/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg
/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg
/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg
/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8279590606689453 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:40:03.499715
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg', 2), ('/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg', 2), ('/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg', 2), ('/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg', 2), ('/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg', 2), ('/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg', '/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg', '/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg', '/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg', '/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg', '/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg
/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg
/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg
/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg
/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg
/home/pi/Desktop/images/03072025/22/31/image_03072025_22_31_02_0509.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0367398262023926 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:41:03.428397
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/37/image_03072025_22_37_01_9638.jpg', 2), ('/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg', 2), ('/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg', 2), ('/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg', 2), ('/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg', 2), ('/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/37/image_03072025_22_37_01_9638.jpg', '/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg', '/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg', '/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg', '/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg', '/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/37/image_03072025_22_37_01_9638.jpg
/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg
/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg
/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg
/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg
/home/pi/Desktop/images/03072025/22/32/image_03072025_22_32_01_2855.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.758849620819092 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:42:02.898154
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/41/image_03072025_22_41_01_9398.jpg', 2), ('/home/pi/Desktop/images/03072025/22/37/image_03072025_22_37_01_9638.jpg', 2), ('/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg', 2), ('/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg', 2), ('/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg', 2), ('/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/41/image_03072025_22_41_01_9398.jpg', '/home/pi/Desktop/images/03072025/22/37/image_03072025_22_37_01_9638.jpg', '/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg', '/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg', '/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg', '/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/41/image_03072025_22_41_01_9398.jpg
/home/pi/Desktop/images/03072025/22/37/image_03072025_22_37_01_9638.jpg
/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg
/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg
/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg
/home/pi/Desktop/images/03072025/22/33/image_03072025_22_33_01_9354.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6614344120025635 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:43:03.231886
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg', 2), ('/home/pi/Desktop/images/03072025/22/41/image_03072025_22_41_01_9398.jpg', 2), ('/home/pi/Desktop/images/03072025/22/37/image_03072025_22_37_01_9638.jpg', 2), ('/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg', 2), ('/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg', 2), ('/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg', '/home/pi/Desktop/images/03072025/22/41/image_03072025_22_41_01_9398.jpg', '/home/pi/Desktop/images/03072025/22/37/image_03072025_22_37_01_9638.jpg', '/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg', '/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg', '/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg
/home/pi/Desktop/images/03072025/22/41/image_03072025_22_41_01_9398.jpg
/home/pi/Desktop/images/03072025/22/37/image_03072025_22_37_01_9638.jpg
/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg
/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg
/home/pi/Desktop/images/03072025/22/34/image_03072025_22_34_02_2343.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7928481101989746 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:44:03.607623
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg', 2), ('/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg', 2), ('/home/pi/Desktop/images/03072025/22/41/image_03072025_22_41_01_9398.jpg', 2), ('/home/pi/Desktop/images/03072025/22/37/image_03072025_22_37_01_9638.jpg', 2), ('/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg', 2), ('/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg', '/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg', '/home/pi/Desktop/images/03072025/22/41/image_03072025_22_41_01_9398.jpg', '/home/pi/Desktop/images/03072025/22/37/image_03072025_22_37_01_9638.jpg', '/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg', '/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg
/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg
/home/pi/Desktop/images/03072025/22/41/image_03072025_22_41_01_9398.jpg
/home/pi/Desktop/images/03072025/22/37/image_03072025_22_37_01_9638.jpg
/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg
/home/pi/Desktop/images/03072025/22/35/image_03072025_22_35_01_8661.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.49287486076355 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:45:03.393531
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg', 2), ('/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg', 2), ('/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg', 2), ('/home/pi/Desktop/images/03072025/22/41/image_03072025_22_41_01_9398.jpg', 2), ('/home/pi/Desktop/images/03072025/22/37/image_03072025_22_37_01_9638.jpg', 2), ('/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg', '/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg', '/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg', '/home/pi/Desktop/images/03072025/22/41/image_03072025_22_41_01_9398.jpg', '/home/pi/Desktop/images/03072025/22/37/image_03072025_22_37_01_9638.jpg', '/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg
/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg
/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg
/home/pi/Desktop/images/03072025/22/41/image_03072025_22_41_01_9398.jpg
/home/pi/Desktop/images/03072025/22/37/image_03072025_22_37_01_9638.jpg
/home/pi/Desktop/images/03072025/22/36/image_03072025_22_36_01_2159.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8255200386047363 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:46:02.801239
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg', 2), ('/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg', 2), ('/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg', 2), ('/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg', 2), ('/home/pi/Desktop/images/03072025/22/41/image_03072025_22_41_01_9398.jpg', 2), ('/home/pi/Desktop/images/03072025/22/37/image_03072025_22_37_01_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg', '/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg', '/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg', '/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg', '/home/pi/Desktop/images/03072025/22/41/image_03072025_22_41_01_9398.jpg', '/home/pi/Desktop/images/03072025/22/37/image_03072025_22_37_01_9638.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg
/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg
/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg
/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg
/home/pi/Desktop/images/03072025/22/41/image_03072025_22_41_01_9398.jpg
/home/pi/Desktop/images/03072025/22/37/image_03072025_22_37_01_9638.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7256205081939697 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:47:05.594684
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg', 2), ('/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg', 2), ('/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg', 2), ('/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg', 2), ('/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg', 2), ('/home/pi/Desktop/images/03072025/22/41/image_03072025_22_41_01_9398.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg', '/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg', '/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg', '/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg', '/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg', '/home/pi/Desktop/images/03072025/22/41/image_03072025_22_41_01_9398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg
/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg
/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg
/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg
/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg
/home/pi/Desktop/images/03072025/22/41/image_03072025_22_41_01_9398.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2919280529022217 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:48:03.691427
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg', 2), ('/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg', 2), ('/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg', 2), ('/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg', 2), ('/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg', 2), ('/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg', '/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg', '/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg', '/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg', '/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg', '/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg
/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg
/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg
/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg
/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg
/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6898090839385986 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:49:03.391246
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg', 2), ('/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg', 2), ('/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg', 2), ('/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg', 2), ('/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg', 2), ('/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg', '/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg', '/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg', '/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg', '/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg', '/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg
/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg
/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg
/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg
/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg
/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2938380241394043 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:50:03.637239
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg', 2), ('/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg', 2), ('/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg', 2), ('/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg', 2), ('/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg', 2), ('/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg', '/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg', '/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg', '/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg', '/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg', '/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg
/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg
/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg
/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg
/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg
/home/pi/Desktop/images/03072025/22/42/image_03072025_22_42_01_4366.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.739323854446411 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:51:04.696267
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/48/image_03072025_22_48_02_1653.jpg', 2), ('/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg', 2), ('/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg', 2), ('/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg', 2), ('/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg', 2), ('/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/48/image_03072025_22_48_02_1653.jpg', '/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg', '/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg', '/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg', '/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg', '/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/48/image_03072025_22_48_02_1653.jpg
/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg
/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg
/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg
/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg
/home/pi/Desktop/images/03072025/22/43/image_03072025_22_43_01_4193.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.799560785293579 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:52:03.568150
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/51/image_03072025_22_51_02_0552.jpg', 2), ('/home/pi/Desktop/images/03072025/22/48/image_03072025_22_48_02_1653.jpg', 2), ('/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg', 2), ('/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg', 2), ('/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg', 2), ('/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/51/image_03072025_22_51_02_0552.jpg', '/home/pi/Desktop/images/03072025/22/48/image_03072025_22_48_02_1653.jpg', '/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg', '/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg', '/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg', '/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/51/image_03072025_22_51_02_0552.jpg
/home/pi/Desktop/images/03072025/22/48/image_03072025_22_48_02_1653.jpg
/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg
/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg
/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg
/home/pi/Desktop/images/03072025/22/44/image_03072025_22_44_01_2958.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.888918161392212 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:53:03.372651
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/52/image_03072025_22_52_02_0456.jpg', 2), ('/home/pi/Desktop/images/03072025/22/51/image_03072025_22_51_02_0552.jpg', 2), ('/home/pi/Desktop/images/03072025/22/48/image_03072025_22_48_02_1653.jpg', 2), ('/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg', 2), ('/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg', 2), ('/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/52/image_03072025_22_52_02_0456.jpg', '/home/pi/Desktop/images/03072025/22/51/image_03072025_22_51_02_0552.jpg', '/home/pi/Desktop/images/03072025/22/48/image_03072025_22_48_02_1653.jpg', '/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg', '/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg', '/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/52/image_03072025_22_52_02_0456.jpg
/home/pi/Desktop/images/03072025/22/51/image_03072025_22_51_02_0552.jpg
/home/pi/Desktop/images/03072025/22/48/image_03072025_22_48_02_1653.jpg
/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg
/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg
/home/pi/Desktop/images/03072025/22/45/image_03072025_22_45_01_7439.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.142085313796997 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:54:03.498862
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/53/image_03072025_22_53_02_0743.jpg', 2), ('/home/pi/Desktop/images/03072025/22/52/image_03072025_22_52_02_0456.jpg', 2), ('/home/pi/Desktop/images/03072025/22/51/image_03072025_22_51_02_0552.jpg', 2), ('/home/pi/Desktop/images/03072025/22/48/image_03072025_22_48_02_1653.jpg', 2), ('/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg', 2), ('/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/53/image_03072025_22_53_02_0743.jpg', '/home/pi/Desktop/images/03072025/22/52/image_03072025_22_52_02_0456.jpg', '/home/pi/Desktop/images/03072025/22/51/image_03072025_22_51_02_0552.jpg', '/home/pi/Desktop/images/03072025/22/48/image_03072025_22_48_02_1653.jpg', '/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg', '/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/53/image_03072025_22_53_02_0743.jpg
/home/pi/Desktop/images/03072025/22/52/image_03072025_22_52_02_0456.jpg
/home/pi/Desktop/images/03072025/22/51/image_03072025_22_51_02_0552.jpg
/home/pi/Desktop/images/03072025/22/48/image_03072025_22_48_02_1653.jpg
/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg
/home/pi/Desktop/images/03072025/22/46/image_03072025_22_46_01_5893.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.599076509475708 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:55:05.197956
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/54/image_03072025_22_54_01_4247.jpg', 2), ('/home/pi/Desktop/images/03072025/22/53/image_03072025_22_53_02_0743.jpg', 2), ('/home/pi/Desktop/images/03072025/22/52/image_03072025_22_52_02_0456.jpg', 2), ('/home/pi/Desktop/images/03072025/22/51/image_03072025_22_51_02_0552.jpg', 2), ('/home/pi/Desktop/images/03072025/22/48/image_03072025_22_48_02_1653.jpg', 2), ('/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/54/image_03072025_22_54_01_4247.jpg', '/home/pi/Desktop/images/03072025/22/53/image_03072025_22_53_02_0743.jpg', '/home/pi/Desktop/images/03072025/22/52/image_03072025_22_52_02_0456.jpg', '/home/pi/Desktop/images/03072025/22/51/image_03072025_22_51_02_0552.jpg', '/home/pi/Desktop/images/03072025/22/48/image_03072025_22_48_02_1653.jpg', '/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/54/image_03072025_22_54_01_4247.jpg
/home/pi/Desktop/images/03072025/22/53/image_03072025_22_53_02_0743.jpg
/home/pi/Desktop/images/03072025/22/52/image_03072025_22_52_02_0456.jpg
/home/pi/Desktop/images/03072025/22/51/image_03072025_22_51_02_0552.jpg
/home/pi/Desktop/images/03072025/22/48/image_03072025_22_48_02_1653.jpg
/home/pi/Desktop/images/03072025/22/47/image_03072025_22_47_01_4038.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2143306732177734 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:56:03.226049
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/55/image_03072025_22_55_01_9623.jpg', 2), ('/home/pi/Desktop/images/03072025/22/54/image_03072025_22_54_01_4247.jpg', 2), ('/home/pi/Desktop/images/03072025/22/53/image_03072025_22_53_02_0743.jpg', 2), ('/home/pi/Desktop/images/03072025/22/52/image_03072025_22_52_02_0456.jpg', 2), ('/home/pi/Desktop/images/03072025/22/51/image_03072025_22_51_02_0552.jpg', 2), ('/home/pi/Desktop/images/03072025/22/48/image_03072025_22_48_02_1653.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/55/image_03072025_22_55_01_9623.jpg', '/home/pi/Desktop/images/03072025/22/54/image_03072025_22_54_01_4247.jpg', '/home/pi/Desktop/images/03072025/22/53/image_03072025_22_53_02_0743.jpg', '/home/pi/Desktop/images/03072025/22/52/image_03072025_22_52_02_0456.jpg', '/home/pi/Desktop/images/03072025/22/51/image_03072025_22_51_02_0552.jpg', '/home/pi/Desktop/images/03072025/22/48/image_03072025_22_48_02_1653.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/55/image_03072025_22_55_01_9623.jpg
/home/pi/Desktop/images/03072025/22/54/image_03072025_22_54_01_4247.jpg
/home/pi/Desktop/images/03072025/22/53/image_03072025_22_53_02_0743.jpg
/home/pi/Desktop/images/03072025/22/52/image_03072025_22_52_02_0456.jpg
/home/pi/Desktop/images/03072025/22/51/image_03072025_22_51_02_0552.jpg
/home/pi/Desktop/images/03072025/22/48/image_03072025_22_48_02_1653.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.755620002746582 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:57:04.237118
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/56/image_03072025_22_56_02_0225.jpg', 2), ('/home/pi/Desktop/images/03072025/22/55/image_03072025_22_55_01_9623.jpg', 2), ('/home/pi/Desktop/images/03072025/22/54/image_03072025_22_54_01_4247.jpg', 2), ('/home/pi/Desktop/images/03072025/22/53/image_03072025_22_53_02_0743.jpg', 2), ('/home/pi/Desktop/images/03072025/22/52/image_03072025_22_52_02_0456.jpg', 2), ('/home/pi/Desktop/images/03072025/22/51/image_03072025_22_51_02_0552.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/56/image_03072025_22_56_02_0225.jpg', '/home/pi/Desktop/images/03072025/22/55/image_03072025_22_55_01_9623.jpg', '/home/pi/Desktop/images/03072025/22/54/image_03072025_22_54_01_4247.jpg', '/home/pi/Desktop/images/03072025/22/53/image_03072025_22_53_02_0743.jpg', '/home/pi/Desktop/images/03072025/22/52/image_03072025_22_52_02_0456.jpg', '/home/pi/Desktop/images/03072025/22/51/image_03072025_22_51_02_0552.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/56/image_03072025_22_56_02_0225.jpg
/home/pi/Desktop/images/03072025/22/55/image_03072025_22_55_01_9623.jpg
/home/pi/Desktop/images/03072025/22/54/image_03072025_22_54_01_4247.jpg
/home/pi/Desktop/images/03072025/22/53/image_03072025_22_53_02_0743.jpg
/home/pi/Desktop/images/03072025/22/52/image_03072025_22_52_02_0456.jpg
/home/pi/Desktop/images/03072025/22/51/image_03072025_22_51_02_0552.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6831469535827637 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 22:59:04.874234
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/00/image_03072025_23_00_02_3601.jpg', 2), ('/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg', 2), ('/home/pi/Desktop/images/03072025/22/57/image_03072025_22_57_01_7144.jpg', 2), ('/home/pi/Desktop/images/03072025/22/56/image_03072025_22_56_02_0225.jpg', 2), ('/home/pi/Desktop/images/03072025/22/55/image_03072025_22_55_01_9623.jpg', 2), ('/home/pi/Desktop/images/03072025/22/54/image_03072025_22_54_01_4247.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg', '/home/pi/Desktop/images/03072025/22/57/image_03072025_22_57_01_7144.jpg', '/home/pi/Desktop/images/03072025/22/56/image_03072025_22_56_02_0225.jpg', '/home/pi/Desktop/images/03072025/22/55/image_03072025_22_55_01_9623.jpg', '/home/pi/Desktop/images/03072025/22/54/image_03072025_22_54_01_4247.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg
/home/pi/Desktop/images/03072025/22/57/image_03072025_22_57_01_7144.jpg
/home/pi/Desktop/images/03072025/22/56/image_03072025_22_56_02_0225.jpg
/home/pi/Desktop/images/03072025/22/55/image_03072025_22_55_01_9623.jpg
/home/pi/Desktop/images/03072025/22/54/image_03072025_22_54_01_4247.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.392016649246216 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/03072025/23/00/image_03072025_23_00_02_3601.jpg'],)
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:00:02.810967
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg', 2), ('/home/pi/Desktop/images/03072025/22/57/image_03072025_22_57_01_7144.jpg', 2), ('/home/pi/Desktop/images/03072025/22/56/image_03072025_22_56_02_0225.jpg', 2), ('/home/pi/Desktop/images/03072025/22/55/image_03072025_22_55_01_9623.jpg', 2), ('/home/pi/Desktop/images/03072025/22/54/image_03072025_22_54_01_4247.jpg', 2), ('/home/pi/Desktop/images/03072025/22/53/image_03072025_22_53_02_0743.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg', '/home/pi/Desktop/images/03072025/22/57/image_03072025_22_57_01_7144.jpg', '/home/pi/Desktop/images/03072025/22/56/image_03072025_22_56_02_0225.jpg', '/home/pi/Desktop/images/03072025/22/55/image_03072025_22_55_01_9623.jpg', '/home/pi/Desktop/images/03072025/22/54/image_03072025_22_54_01_4247.jpg', '/home/pi/Desktop/images/03072025/22/53/image_03072025_22_53_02_0743.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg
/home/pi/Desktop/images/03072025/22/57/image_03072025_22_57_01_7144.jpg
/home/pi/Desktop/images/03072025/22/56/image_03072025_22_56_02_0225.jpg
/home/pi/Desktop/images/03072025/22/55/image_03072025_22_55_01_9623.jpg
/home/pi/Desktop/images/03072025/22/54/image_03072025_22_54_01_4247.jpg
/home/pi/Desktop/images/03072025/22/53/image_03072025_22_53_02_0743.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.962458372116089 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:01:03.313250
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg', 2), ('/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg', 2), ('/home/pi/Desktop/images/03072025/22/57/image_03072025_22_57_01_7144.jpg', 2), ('/home/pi/Desktop/images/03072025/22/56/image_03072025_22_56_02_0225.jpg', 2), ('/home/pi/Desktop/images/03072025/22/55/image_03072025_22_55_01_9623.jpg', 2), ('/home/pi/Desktop/images/03072025/22/54/image_03072025_22_54_01_4247.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg', '/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg', '/home/pi/Desktop/images/03072025/22/57/image_03072025_22_57_01_7144.jpg', '/home/pi/Desktop/images/03072025/22/56/image_03072025_22_56_02_0225.jpg', '/home/pi/Desktop/images/03072025/22/55/image_03072025_22_55_01_9623.jpg', '/home/pi/Desktop/images/03072025/22/54/image_03072025_22_54_01_4247.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg
/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg
/home/pi/Desktop/images/03072025/22/57/image_03072025_22_57_01_7144.jpg
/home/pi/Desktop/images/03072025/22/56/image_03072025_22_56_02_0225.jpg
/home/pi/Desktop/images/03072025/22/55/image_03072025_22_55_01_9623.jpg
/home/pi/Desktop/images/03072025/22/54/image_03072025_22_54_01_4247.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.884995698928833 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:02:02.883188
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', 2), ('/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg', 2), ('/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg', 2), ('/home/pi/Desktop/images/03072025/22/57/image_03072025_22_57_01_7144.jpg', 2), ('/home/pi/Desktop/images/03072025/22/56/image_03072025_22_56_02_0225.jpg', 2), ('/home/pi/Desktop/images/03072025/22/55/image_03072025_22_55_01_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', '/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg', '/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg', '/home/pi/Desktop/images/03072025/22/57/image_03072025_22_57_01_7144.jpg', '/home/pi/Desktop/images/03072025/22/56/image_03072025_22_56_02_0225.jpg', '/home/pi/Desktop/images/03072025/22/55/image_03072025_22_55_01_9623.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg
/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg
/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg
/home/pi/Desktop/images/03072025/22/57/image_03072025_22_57_01_7144.jpg
/home/pi/Desktop/images/03072025/22/56/image_03072025_22_56_02_0225.jpg
/home/pi/Desktop/images/03072025/22/55/image_03072025_22_55_01_9623.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2890381813049316 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:03:03.867206
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', 2), ('/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', 2), ('/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg', 2), ('/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg', 2), ('/home/pi/Desktop/images/03072025/22/57/image_03072025_22_57_01_7144.jpg', 2), ('/home/pi/Desktop/images/03072025/22/56/image_03072025_22_56_02_0225.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', '/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', '/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg', '/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg', '/home/pi/Desktop/images/03072025/22/57/image_03072025_22_57_01_7144.jpg', '/home/pi/Desktop/images/03072025/22/56/image_03072025_22_56_02_0225.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg
/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg
/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg
/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg
/home/pi/Desktop/images/03072025/22/57/image_03072025_22_57_01_7144.jpg
/home/pi/Desktop/images/03072025/22/56/image_03072025_22_56_02_0225.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.958247423171997 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:04:03.051097
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', 2), ('/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', 2), ('/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', 2), ('/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg', 2), ('/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg', 2), ('/home/pi/Desktop/images/03072025/22/57/image_03072025_22_57_01_7144.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', '/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', '/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', '/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg', '/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg', '/home/pi/Desktop/images/03072025/22/57/image_03072025_22_57_01_7144.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg
/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg
/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg
/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg
/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg
/home/pi/Desktop/images/03072025/22/57/image_03072025_22_57_01_7144.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.32368803024292 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:05:03.605585
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', 2), ('/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', 2), ('/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', 2), ('/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', 2), ('/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg', 2), ('/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', '/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', '/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', '/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', '/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg', '/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg
/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg
/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg
/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg
/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg
/home/pi/Desktop/images/03072025/22/58/image_03072025_22_58_02_0766.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.762099266052246 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:06:04.230160
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', 2), ('/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', 2), ('/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', 2), ('/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', 2), ('/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', 2), ('/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', '/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', '/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', '/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', '/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', '/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg
/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg
/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg
/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg
/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg
/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.4722745418548584 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:07:04.200035
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', 2), ('/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', 2), ('/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', 2), ('/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', 2), ('/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', 2), ('/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', '/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', '/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', '/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', '/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', '/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg
/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg
/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg
/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg
/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg
/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7049455642700195 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:08:03.200783
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', 2), ('/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', 2), ('/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', 2), ('/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', 2), ('/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', 2), ('/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', '/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', '/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', '/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', '/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', '/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg
/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg
/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg
/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg
/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg
/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.761251211166382 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:09:04.019466
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', 2), ('/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', 2), ('/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', 2), ('/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', 2), ('/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', 2), ('/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', '/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', '/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', '/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', '/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', '/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg
/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg
/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg
/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg
/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg
/home/pi/Desktop/images/03072025/22/59/image_03072025_22_59_01_5463.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7889058589935303 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:10:03.083119
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', 2), ('/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', 2), ('/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', 2), ('/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', 2), ('/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', 2), ('/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', '/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', '/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', '/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', '/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', '/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg
/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg
/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg
/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg
/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg
/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.598858594894409 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:11:03.364028
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', 2), ('/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', 2), ('/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', 2), ('/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', 2), ('/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', 2), ('/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', '/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', '/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', '/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', '/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', '/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg
/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg
/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg
/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg
/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg
/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7780556678771973 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:12:03.522341
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', 2), ('/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', 2), ('/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', 2), ('/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', 2), ('/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', 2), ('/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', '/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', '/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', '/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', '/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', '/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg
/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg
/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg
/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg
/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg
/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5933096408843994 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:13:03.912887
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', 2), ('/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', 2), ('/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', 2), ('/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', 2), ('/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', 2), ('/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', '/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', '/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', '/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', '/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', '/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg
/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg
/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg
/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg
/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg
/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.677189826965332 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:14:05.743972
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', 2), ('/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', 2), ('/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', 2), ('/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', 2), ('/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', 2), ('/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', '/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', '/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', '/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', '/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', '/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg
/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg
/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg
/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg
/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg
/home/pi/Desktop/images/03072025/23/01/image_03072025_23_01_01_2989.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.019360780715942 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:15:03.811697
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', 2), ('/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', 2), ('/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', 2), ('/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', 2), ('/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', 2), ('/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', '/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', '/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', '/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', '/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', '/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg
/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg
/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg
/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg
/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg
/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.629026174545288 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:16:03.204074
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', 2), ('/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', 2), ('/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', 2), ('/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', 2), ('/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', 2), ('/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', '/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', '/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', '/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', '/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', '/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg
/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg
/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg
/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg
/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg
/home/pi/Desktop/images/03072025/23/02/image_03072025_23_02_01_4457.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.666497230529785 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:17:03.872406
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', 2), ('/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', 2), ('/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', 2), ('/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', 2), ('/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', 2), ('/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', '/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', '/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', '/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', '/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', '/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg
/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg
/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg
/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg
/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg
/home/pi/Desktop/images/03072025/23/03/image_03072025_23_03_01_4023.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6799263954162598 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:18:03.743418
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', 2), ('/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', 2), ('/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', 2), ('/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', 2), ('/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', 2), ('/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', '/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', '/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', '/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', '/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', '/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg
/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg
/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg
/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg
/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg
/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9030051231384277 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:19:03.321560
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', 2), ('/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', 2), ('/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', 2), ('/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', 2), ('/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', 2), ('/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', '/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', '/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', '/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', '/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', '/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg
/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg
/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg
/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg
/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg
/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.273160219192505 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:20:04.285848
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', 2), ('/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', 2), ('/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', 2), ('/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', 2), ('/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', 2), ('/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', '/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', '/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', '/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', '/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', '/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg
/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg
/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg
/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg
/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg
/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.1962742805480957 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:21:03.893234
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', 2), ('/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', 2), ('/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', 2), ('/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', 2), ('/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', 2), ('/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', '/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', '/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', '/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', '/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', '/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg
/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg
/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg
/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg
/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg
/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7587265968322754 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:22:02.895854
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', 2), ('/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', 2), ('/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', 2), ('/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', 2), ('/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', 2), ('/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', '/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', '/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', '/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', '/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', '/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg
/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg
/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg
/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg
/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg
/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.554659366607666 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:23:04.272216
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', 2), ('/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', 2), ('/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', 2), ('/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', 2), ('/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', 2), ('/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', '/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', '/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', '/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', '/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', '/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg
/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg
/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg
/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg
/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg
/home/pi/Desktop/images/03072025/23/04/image_03072025_23_04_01_6953.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.967637300491333 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:24:04.074016
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', 2), ('/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', 2), ('/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', 2), ('/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', 2), ('/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg', '/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', '/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', '/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', '/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', '/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg
/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg
/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg
/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg
/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg
/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6798808574676514 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:25:06.151202
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', 2), ('/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', 2), ('/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', 2), ('/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', 2), ('/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg', '/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', '/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', '/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', '/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', '/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg
/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg
/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg
/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg
/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg
/home/pi/Desktop/images/03072025/23/05/image_03072025_23_05_01_5092.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 6.161689043045044 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:26:03.228214
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', 2), ('/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', 2), ('/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', 2), ('/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', 2), ('/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', '/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg', '/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', '/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', '/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', '/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg
/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg
/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg
/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg
/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg
/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.7878711223602295 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:27:04.345201
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', 2), ('/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', 2), ('/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', 2), ('/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', 2), ('/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', '/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg', '/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', '/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', '/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', '/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg
/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg
/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg
/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg
/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg
/home/pi/Desktop/images/03072025/23/06/image_03072025_23_06_01_7534.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.68265962600708 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:28:03.392613
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', 2), ('/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', 2), ('/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', 2), ('/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', 2), ('/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', '/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', '/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg', '/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', '/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', '/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg
/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg
/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg
/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg
/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg
/home/pi/Desktop/images/03072025/23/10/image_03072025_23_10_01_9485.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.698838233947754 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:29:03.792434
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', 2), ('/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', 2), ('/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', 2), ('/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', 2), ('/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', '/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', '/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', '/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg', '/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', '/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg
/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg
/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg
/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg
/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg
/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9150166511535645 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:30:04.113732
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', 2), ('/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', 2), ('/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', 2), ('/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', 2), ('/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', '/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', '/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', '/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg', '/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', '/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg
/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg
/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg
/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg
/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg
/home/pi/Desktop/images/03072025/23/15/image_03072025_23_15_02_2325.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6549582481384277 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:31:03.549342
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', 2), ('/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', 2), ('/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', 2), ('/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', 2), ('/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', '/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', '/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', '/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', '/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg', '/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg
/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg
/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg
/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg
/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg
/home/pi/Desktop/images/03072025/23/17/image_03072025_23_17_01_6005.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7288856506347656 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:32:02.703716
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', 2), ('/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', 2), ('/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', 2), ('/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', 2), ('/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', 2), ('/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', '/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', '/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', '/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', '/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', '/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg
/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg
/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg
/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg
/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg
/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.694472312927246 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:33:03.273753
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', 2), ('/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', 2), ('/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', 2), ('/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', 2), ('/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', 2), ('/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', '/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', '/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', '/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', '/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', '/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg
/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg
/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg
/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg
/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg
/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.288914918899536 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:34:02.773019
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', 2), ('/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', 2), ('/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', 2), ('/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', 2), ('/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', 2), ('/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', '/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', '/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', '/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', '/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', '/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg
/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg
/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg
/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg
/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg
/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.71405291557312 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:35:03.289999
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', 2), ('/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', 2), ('/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', 2), ('/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', 2), ('/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', 2), ('/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', '/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', '/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', '/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', '/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', '/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg
/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg
/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg
/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg
/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg
/home/pi/Desktop/images/03072025/23/18/image_03072025_23_18_01_8045.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.710444450378418 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:36:03.600741
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', 2), ('/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', 2), ('/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', 2), ('/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', 2), ('/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', '/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', '/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', '/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', '/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', '/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg
/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg
/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg
/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg
/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg
/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.7144627571105957 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:37:03.851501
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', 2), ('/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', 2), ('/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', 2), ('/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', 2), ('/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', '/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', '/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', '/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', '/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', '/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg
/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg
/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg
/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg
/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg
/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.750096559524536 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:38:02.809868
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', 2), ('/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', 2), ('/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', 2), ('/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', 2), ('/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', '/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', '/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', '/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', '/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', '/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg
/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg
/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg
/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg
/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg
/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.828684091567993 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:39:05.394462
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', 2), ('/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', 2), ('/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', 2), ('/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', 2), ('/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', '/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', '/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', '/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', '/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', '/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg
/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg
/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg
/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg
/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg
/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.200594425201416 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:40:03.385104
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', 2), ('/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', 2), ('/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', 2), ('/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', 2), ('/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', '/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', '/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', '/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', '/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', '/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg
/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg
/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg
/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg
/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg
/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7924411296844482 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:41:04.238339
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', 2), ('/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', 2), ('/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', 2), ('/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', 2), ('/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', '/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', '/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', '/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', '/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', '/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg
/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg
/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg
/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg
/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg
/home/pi/Desktop/images/03072025/23/24/image_03072025_23_24_01_8703.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8659441471099854 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:42:03.159539
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', 2), ('/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', 2), ('/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', 2), ('/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', 2), ('/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', '/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', '/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', '/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', '/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', '/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg
/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg
/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg
/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg
/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg
/home/pi/Desktop/images/03072025/23/26/image_03072025_23_26_01_8274.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8057029247283936 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:43:04.567964
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', 2), ('/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', 2), ('/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', 2), ('/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', 2), ('/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', '/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', '/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', '/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', '/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', '/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg
/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg
/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg
/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg
/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg
/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.005479574203491 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:44:02.722968
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', 2), ('/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', 2), ('/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', 2), ('/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', 2), ('/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', '/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', '/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', '/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', '/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', '/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg
/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg
/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg
/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg
/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg
/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8194046020507812 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:45:03.179758
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', 2), ('/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', 2), ('/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', 2), ('/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', 2), ('/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', '/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', '/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', '/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', '/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', '/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg
/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg
/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg
/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg
/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg
/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.860474109649658 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:46:03.563293
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', 2), ('/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', 2), ('/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', 2), ('/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', 2), ('/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', '/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', '/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', '/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', '/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', '/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg
/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg
/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg
/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg
/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg
/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.84305477142334 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:47:03.841082
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', 2), ('/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', 2), ('/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', 2), ('/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', 2), ('/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', '/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', '/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', '/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', '/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', '/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg
/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg
/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg
/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg
/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg
/home/pi/Desktop/images/03072025/23/28/image_03072025_23_28_02_2193.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8835842609405518 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:48:03.380636
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg', 2), ('/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', 2), ('/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', 2), ('/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', 2), ('/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg', '/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', '/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', '/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', '/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', '/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg
/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg
/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg
/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg
/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg
/home/pi/Desktop/images/03072025/23/29/image_03072025_23_29_01_8351.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8205714225769043 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:49:05.194374
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
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 = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/50/image_03072025_23_50_01_6845.jpg', 2), ('/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg', 2), ('/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg', 2), ('/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', 2), ('/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', 2), ('/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg', '/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg', '/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', '/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', '/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg
/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg
/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg
/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg
/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.707854986190796 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/03072025/23/50/image_03072025_23_50_01_6845.jpg'],)
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:50:03.290694
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg', 2), ('/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg', 2), ('/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', 2), ('/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', 2), ('/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', 2), ('/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg', '/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg', '/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', '/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', '/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', '/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg
/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg
/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg
/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg
/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg
/home/pi/Desktop/images/03072025/23/31/image_03072025_23_31_01_4185.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2009003162384033 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:51:04.162584
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg', 2), ('/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg', 2), ('/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg', 2), ('/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', 2), ('/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', 2), ('/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg', '/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg', '/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg', '/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', '/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', '/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg
/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg
/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg
/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg
/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg
/home/pi/Desktop/images/03072025/23/32/image_03072025_23_32_01_5045.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.799149990081787 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:52:03.557198
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/51/image_03072025_23_51_01_7180.jpg', 2), ('/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg', 2), ('/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg', 2), ('/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg', 2), ('/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', 2), ('/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/51/image_03072025_23_51_01_7180.jpg', '/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg', '/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg', '/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg', '/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', '/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/51/image_03072025_23_51_01_7180.jpg
/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg
/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg
/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg
/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg
/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.689960241317749 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:53:03.966476
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/51/image_03072025_23_51_01_7180.jpg', 2), ('/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg', 2), ('/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg', 2), ('/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg', 2), ('/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', 2), ('/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/51/image_03072025_23_51_01_7180.jpg', '/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg', '/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg', '/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg', '/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', '/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/51/image_03072025_23_51_01_7180.jpg
/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg
/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg
/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg
/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg
/home/pi/Desktop/images/03072025/23/36/image_03072025_23_36_01_2839.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.107122182846069 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:54:03.329217
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/52/image_03072025_23_52_02_0826.jpg', 2), ('/home/pi/Desktop/images/03072025/23/51/image_03072025_23_51_01_7180.jpg', 2), ('/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg', 2), ('/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg', 2), ('/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg', 2), ('/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/52/image_03072025_23_52_02_0826.jpg', '/home/pi/Desktop/images/03072025/23/51/image_03072025_23_51_01_7180.jpg', '/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg', '/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg', '/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg', '/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/52/image_03072025_23_52_02_0826.jpg
/home/pi/Desktop/images/03072025/23/51/image_03072025_23_51_01_7180.jpg
/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg
/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg
/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg
/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3297183513641357 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:55:04.262483
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/52/image_03072025_23_52_02_0826.jpg', 2), ('/home/pi/Desktop/images/03072025/23/51/image_03072025_23_51_01_7180.jpg', 2), ('/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg', 2), ('/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg', 2), ('/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg', 2), ('/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/52/image_03072025_23_52_02_0826.jpg', '/home/pi/Desktop/images/03072025/23/51/image_03072025_23_51_01_7180.jpg', '/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg', '/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg', '/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg', '/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/52/image_03072025_23_52_02_0826.jpg
/home/pi/Desktop/images/03072025/23/51/image_03072025_23_51_01_7180.jpg
/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg
/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg
/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg
/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7280797958374023 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:56:04.844670
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/52/image_03072025_23_52_02_0826.jpg', 2), ('/home/pi/Desktop/images/03072025/23/51/image_03072025_23_51_01_7180.jpg', 2), ('/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg', 2), ('/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg', 2), ('/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg', 2), ('/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/52/image_03072025_23_52_02_0826.jpg', '/home/pi/Desktop/images/03072025/23/51/image_03072025_23_51_01_7180.jpg', '/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg', '/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg', '/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg', '/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/52/image_03072025_23_52_02_0826.jpg
/home/pi/Desktop/images/03072025/23/51/image_03072025_23_51_01_7180.jpg
/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg
/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg
/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg
/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.702714681625366 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u www.fotonower.com -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-03 23:57:04.018901
  port_id : 24536668
  datou_current_id : 3231116
in upload_from_sqlite, uploading in 24536668
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/03072025/23/52/image_03072025_23_52_02_0826.jpg', 2), ('/home/pi/Desktop/images/03072025/23/51/image_03072025_23_51_01_7180.jpg', 2), ('/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg', 2), ('/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg', 2), ('/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg', 2), ('/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03072025/23/52/image_03072025_23_52_02_0826.jpg', '/home/pi/Desktop/images/03072025/23/51/image_03072025_23_51_01_7180.jpg', '/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg', '/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg', '/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg', '/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3231116&datou=0
/home/pi/Desktop/images/03072025/23/52/image_03072025_23_52_02_0826.jpg
/home/pi/Desktop/images/03072025/23/51/image_03072025_23_51_01_7180.jpg
/home/pi/Desktop/images/03072025/23/49/image_03072025_23_49_01_8980.jpg
/home/pi/Desktop/images/03072025/23/48/image_03072025_23_48_01_9122.jpg
/home/pi/Desktop/images/03072025/23/43/image_03072025_23_43_01_6111.jpg
/home/pi/Desktop/images/03072025/23/42/image_03072025_23_42_01_6777.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.634467124938965 secondes ---
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
